File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,22 @@ jobs:
2222 runs-on : ubuntu-latest
2323 name : Release version
2424 steps :
25+ - name : Get auth token
26+ id : token
27+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
28+ with :
29+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
30+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
31+
2532 - uses : actions/checkout@v3
2633 with :
27- token : ${{ secrets.GH_RELEASE_PAT }}
34+ token : ${{ steps.token.outputs.token }}
2835 fetch-depth : 0
2936
3037 - name : Prepare release
3138 uses : getsentry/action-prepare-release@v1
3239 env :
33- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
40+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
3441 with :
3542 version : ${{ github.event.inputs.version }}
3643 force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments