File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 88 semantic-release :
99 name : Release the application
1010 runs-on : ubuntu-latest
11- permissions :
12- contents : write # Permit release creation
13- issues : write # Write on released issues
14- pull-requests : write # Write on released PRs
15- actions : write # Trigger deploy action
1611 steps :
12+ - name : Generate Bot token used to release
13+ id : generate_token
14+ uses : tibdex/github-app-token@v1
15+ with :
16+ app_id : ${{ secrets.RELEASE_APP_ID }}
17+ private_key : ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
1718 - name : Checkout sources
1819 uses : actions/checkout@v4
19-
20+ with :
21+ fetch-depth : 0
22+ token : ${{ steps.generate_token.outputs.token }}
2023 - name : Install NodeJS
2124 uses : actions/setup-node@v4
2225 with :
23- node-version : 20
26+ node-version : 22
2427
2528 - name : Install Semantic Release globally
2629 run : npm install -g semantic-release @semantic-release/git @semantic-release/exec @semantic-release/changelog
2932 - name : Release with semantic versioning
3033 run : npx semantic-release
3134 env :
32- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ GH_TOKEN : ${{ steps.generate_token.outputs.token }}
You can’t perform that action at this time.
0 commit comments