File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,21 @@ jobs:
19
19
runs-on : ubuntu-latest
20
20
name : " Release a new version"
21
21
steps :
22
+ - name : Get auth token
23
+ id : token
24
+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
25
+ with :
26
+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
27
+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
22
28
- uses : actions/checkout@v4
23
29
with :
24
- token : ${{ secrets.GH_RELEASE_PAT }}
30
+ token : ${{ steps.token.outputs.token }}
25
31
fetch-depth : 0
26
32
- name : Prepare release
27
33
id : prepare-release
28
34
uses : getsentry/action-prepare-release@v1
29
35
env :
30
- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
36
+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
31
37
with :
32
38
version : ${{ github.event.inputs.version }}
33
39
force : ${{ github.event.inputs.force }}
42
48
steps :
43
49
- uses : actions/checkout@v4
44
50
with :
45
- token : ${{ secrets.GH_RELEASE_PAT }}
46
51
fetch-depth : 0
47
52
- uses : getsentry/action-release@v1
48
53
env :
You can’t perform that action at this time.
0 commit comments