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 @@ -16,14 +16,20 @@ jobs:
16
16
runs-on : ubuntu-latest
17
17
name : " Release a new version"
18
18
steps :
19
+ - name : Get auth token
20
+ id : token
21
+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
22
+ with :
23
+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
24
+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
19
25
- uses : actions/checkout@v4
20
26
with :
21
- token : ${{ secrets.GH_RELEASE_PAT }}
27
+ token : ${{ steps.token.outputs.token }}
22
28
fetch-depth : 0
23
29
- name : Prepare release
24
30
uses : getsentry/action-prepare-release@v1
25
31
env :
26
- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
32
+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
27
33
with :
28
34
version : ${{ github.event.inputs.version }}
29
35
force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments