File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,16 @@ jobs:
17
17
runs-on : ubuntu-latest
18
18
name : " Release a new version"
19
19
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 }}
20
26
- name : Check out current commit (${{ github.sha }})
21
27
uses : actions/checkout@v4
22
28
with :
23
- token : ${{ secrets.GH_RELEASE_PAT }}
29
+ token : ${{ steps.token.outputs.token }}
24
30
fetch-depth : 0
25
31
- run : corepack enable
26
32
- uses : actions/setup-node@v4
31
37
- name : Prepare release
32
38
uses : getsentry/action-prepare-release@v1
33
39
env :
34
- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
40
+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
35
41
with :
36
42
version : ${{ github.event.inputs.version }}
37
43
force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments