Skip to content

Commit

Permalink
chore: Fix update-package-lock workflow (#97)
Browse files Browse the repository at this point in the history
* Fix update-package-lock workflow

* Use master branch
  • Loading branch information
oelhanafey authored Jan 31, 2024
1 parent fd9faf1 commit ec97408
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions .github/workflows/update-package-lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ on:
workflow_dispatch: # manual trigger
jobs:
Update:
uses: Brightspace/space-github-actions/.github/workflows/update-package-lock.yml@main
secrets: inherit
with:
DEFAULT_BRANCH: master
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
token: ${{ secrets.DEPENDENCIES_TOKEN }}

- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc

- name: Update package-lock.json
uses: BrightspaceUI/actions/update-package-lock@main
with:
AUTO_MERGE_METHOD: squash
AUTO_MERGE_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }}
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.DEPENDENCIES_TOKEN }}

0 comments on commit ec97408

Please sign in to comment.