File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 2828 USE_GH_APP : ${{ inputs.GH_APP_ID && secrets.GH_APP_PEM_FILE }}
2929
3030 steps :
31+ - name : Create GitHub App token
32+ uses : actions/create-github-app-token@v2
33+ id : gh-app-token
34+ if : env.USE_GH_APP
35+ with :
36+ app-id : ${{ inputs.GH_APP_ID }}
37+ private-key : ${{ secrets.GH_APP_PEM_FILE }}
38+
3139 - name : Checkout repository
3240 uses : actions/checkout@v4
3341 with :
42+ token : ${{ steps.gh-app-token.outputs.token || secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
3443 fetch-depth : 0
3544
3645 - name : Setup Node.js
5160 - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
5261 run : npm audit signatures
5362
54- - name : Create GitHub App token
55- uses : actions/create-github-app-token@v2
56- id : gh-app-token
57- if : env.USE_GH_APP
58- with :
59- app-id : ${{ inputs.GH_APP_ID }}
60- private-key : ${{ secrets.GH_APP_PEM_FILE }}
61-
6263 - name : Run Semantic Release
6364 env :
6465 GITHUB_TOKEN : ${{ steps.gh-app-token.outputs.token || secrets.GH_TOKEN || secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments