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 @@ -15,15 +15,22 @@ jobs:
1515 runs-on : ubuntu-latest
1616 name : " Release a new version"
1717 steps :
18+ - name : Get auth token
19+ id : token
20+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
21+ with :
22+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
23+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
24+
1825 - uses : actions/checkout@v4
1926 with :
20- token : ${{ secrets.GH_RELEASE_PAT }}
27+ token : ${{ steps.token.outputs.token }}
2128 fetch-depth : 0
2229
2330 - name : Prepare release
2431 uses : getsentry/action-prepare-release@v1
2532 env :
26- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
33+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
2734 with :
2835 version : ${{ github.event.inputs.version }}
2936 force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments