File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,16 +18,23 @@ jobs:
18
18
runs-on : ubuntu-latest
19
19
name : Release version
20
20
steps :
21
+ - name : Get auth token
22
+ id : token
23
+ uses : actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
24
+ with :
25
+ app-id : ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
26
+ private-key : ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
27
+
21
28
- name : Checkout
22
29
uses : actions/checkout@v4
23
30
with :
24
- token : ${{ secrets.GH_RELEASE_PAT }}
31
+ token : ${{ steps.token.outputs.token }}
25
32
fetch-depth : 0
26
33
27
34
- name : Prepare release
28
35
uses : getsentry/action-prepare-release@v1
29
36
env :
30
- GITHUB_TOKEN : ${{ secrets.GH_RELEASE_PAT }}
37
+ GITHUB_TOKEN : ${{ steps.token.outputs.token }}
31
38
with :
32
39
version : ${{ github.event.inputs.version }}
33
40
force : ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments