File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11name : ' CodeQL'
22
3+ concurrency :
4+ group : ${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
37on :
4- push :
5- branches : ['main']
68 pull_request :
79 branches : ['main']
810 schedule :
Original file line number Diff line number Diff line change @@ -12,24 +12,24 @@ jobs:
1212 contents : write
1313 issues : write
1414 pull-requests : write
15+ id-token : write # to enable use of OIDC for trusted publishing and npm provenance
1516 steps :
1617 - name : Checkout
17- uses : actions/checkout@v4
18+ uses : actions/checkout@v6
1819 with :
1920 fetch-depth : 0
20- token : ${{ secrets.GH_WEB_SHIM_PUSH_TOKEN }}
21+
2122 - name : Setup Node.js
22- uses : actions/setup-node@v4
23+ uses : actions/setup-node@v6
2324 with :
2425 node-version : ' lts/*'
25- registry-url : ' https://registry.npmjs.org '
26+
2627 - name : Install dependencies
2728 run : npm ci
29+
2830 - name : Release
2931 env :
30- GITHUB_TOKEN : ${{ secrets.GH_WEB_SHIM_PUSH_TOKEN }}
31- NODE_AUTH_TOKEN : ${{ secrets.NPM_WEB_SHIM_PUSH_TOKEN }}
32- NPM_TOKEN : ${{ secrets.NPM_WEB_SHIM_PUSH_TOKEN }}
32+ GITHUB_TOKEN : ${{ secrets.GH_PUSH_TOKEN }}
3333 run : |
3434 npx -p semantic-release \
3535 -p @semantic-release/changelog \
You can’t perform that action at this time.
0 commit comments