File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 timeout-minutes : 2
99 runs-on : ubuntu-latest
1010 steps :
11- - name : Create GH Token
12- uses : actions/create-github-app-token@v1
13- id : gh-token
14- with :
15- app-id : ${{ vars.GH_TOKEN_APP_ID }}
16- private-key : ${{ secrets.GH_TOKEN_APP_PRIVATE_KEY }}
1711 - name : Checkout
1812 uses : actions/checkout@v4
19- with :
20- persist-credentials : false
2113 - name : Setup Node
2214 uses : actions/setup-node@v4
2315 with :
2820 - name : Semantic Release
2921 uses : ./.github/actions/semantic-release/
3022 with :
31- GITHUB_TOKEN : ${{ steps.gh-token.outputs.token }}
23+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3224 NPM : true
3325 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
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