Skip to content

Commit

Permalink
add update-package-lock workflow (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlockhart authored Jun 6, 2023
1 parent 18479cd commit aabec59
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @BrightspaceUI/gaudi-dev
package-lock.json
25 changes: 25 additions & 0 deletions .github/workflows/update-package-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Update package-lock.json
on:
schedule:
- cron: "30 12 * * 1-5" # Mon-Fri 8:30AM EDT. 7:30AM EST.
workflow_dispatch: # manual trigger
jobs:
update:
name: Update
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: Brightspace/third-party-actions@actions/checkout
with:
token: ${{ secrets.PR_GITHUB_TOKEN }}
- uses: Brightspace/third-party-actions@actions/setup-node
with:
node-version-file: .nvmrc
cache: 'npm'
- name: Update package-lock.json
uses: BrightspaceUI/actions/update-package-lock@main
with:
AUTO_MERGE_METHOD: squash
AUTO_MERGE_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}
APPROVAL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PR_GITHUB_TOKEN }}

0 comments on commit aabec59

Please sign in to comment.