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