Skip to content

Commit

Permalink
Update update-dependencies to use new bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed Nov 8, 2024
1 parent 2cddcfa commit f73e1b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/script/update-node-modules.sh

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/update-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ jobs:
run: |
git fetch origin "$BRANCH" --depth=1
git checkout "origin/$BRANCH"
.github/workflows/script/update-node-modules.sh update
npm ci
npm run build
if [ ! -z "$(git status --porcelain)" ]; then
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add node_modules
git commit -am "Update checked-in dependencies"
git commit -am "Update action bundles"
git push origin "HEAD:$BRANCH"
echo "Pushed a commit to update the checked-in dependencies." \
echo "Pushed a commit to update the checked-in action bundles." \
"Please mark the PR as ready for review to trigger PR checks." |
gh pr comment --body-file - --repo github/codeql-action "${{ github.event.pull_request.number }}"
gh pr ready --undo --repo github/codeql-action "${{ github.event.pull_request.number }}"
Expand Down

0 comments on commit f73e1b6

Please sign in to comment.