File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Update package-lock.json
2+ on :
3+ schedule :
4+ - cron : " 30 12 * * 1-5" # Mon-Fri 8:30AM EDT. 7:30AM EST.
5+ workflow_dispatch : # manual trigger
6+ jobs :
7+ update :
8+ name : Update
9+ timeout-minutes : 10
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Create GH Token
13+ uses : actions/create-github-app-token@v1
14+ id : gh-token
15+ with :
16+ app-id : ${{ vars.GH_TOKEN_APP_ID }}
17+ private-key : ${{ secrets.GH_TOKEN_APP_PRIVATE_KEY }}
18+ - name : Checkout
19+ uses : actions/checkout@v4
20+ with :
21+ token : ${{ steps.gh-token.outputs.token }}
22+ - name : Setup Node
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version-file : .nvmrc
26+ cache : npm
27+ - name : Update package-lock.json
28+ uses : BrightspaceUI/actions/update-package-lock@main
29+ with :
30+ AUTO_MERGE_METHOD : squash
31+ AUTO_MERGE_TOKEN : ${{ steps.gh-token.outputs.token }}
32+ APPROVAL_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ GITHUB_TOKEN : ${{ steps.gh-token.outputs.token }}
You can’t perform that action at this time.
0 commit comments