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