File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -36,14 +36,19 @@ jobs:
3636 runs-on : ubuntu-latest
3737 concurrency : release
3838 steps :
39+ - uses : actions/create-github-app-token@v1
40+ id : app-token
41+ with :
42+ app-id : ${{ vars.CI_APP_ID }}
43+ private-key : ${{ secrets.CI_PRIVATE_KEY }}
3944 - uses : actions/checkout@v4
4045 with :
41- token : ${{ secrets.GH_PAT }}
46+ token : ${{ steps.app-token.outputs.token }}
4247 fetch-depth : 0 # for fetching tags, required for semantic-release
4348 - uses : ./.github/actions/setup-poetry
4449 - name : Run release script
4550 env :
46- GH_TOKEN : ${{ secrets.GH_PAT }}
51+ GH_TOKEN : ${{ steps.app-token.outputs.token }}
4752 TARGET_VERSION : ${{ needs.pre-release-check.outputs.TARGET_TAG_V }}
4853 CHGLOG_FILE : CHANGELOG.md
4954 run : ./.github/scripts/release.sh
You can’t perform that action at this time.
0 commit comments