File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,20 @@ jobs:
1717 runs-on : ubuntu-latest
1818 name : ' Release a new version'
1919 steps :
20+ - name : Get auth token
21+ id : token
22+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
23+ with :
24+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
25+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
2026 - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2127 with :
22- token : ${{ secrets.GH_RELEASE_PAT }}
28+ token : ${{ steps.token.outputs.token }}
2329 fetch-depth : 0
2430 - name : Prepare release
2531 uses : getsentry/action-prepare-release@d2cc2db3db92bc5b79a90c316f588f2b13626a2b # v1.5.6
2632 env :
27- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
33+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
2834 with :
2935 version : ${{ github.event.inputs.version }}
3036 force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments