File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
develop-docs/sdk/processes Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 8484
8585This file is used to trigger the release from the GitHub UI.
8686
87- You'll notice it uses `secrets.GH_RELEASE_PAT ` -- this should already be
87+ You'll notice it uses `vars.SENTRY_RELEASE_BOT_CLIENT_ID` and ` secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY ` -- these should already be
8888available to your repository automatically!
8989
9090` ` ` yaml
@@ -109,10 +109,16 @@ jobs:
109109 with:
110110 token: ${{ secrets.GH_RELEASE_PAT }}
111111 fetch-depth: 0
112+ - name: Get auth token
113+ id: token
114+ uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 #v.1.10.4
115+ with:
116+ app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
117+ private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
112118 - name: Prepare release
113119 uses: getsentry/action-prepare-release@v1
114120 env:
115- GITHUB_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
121+ GITHUB_TOKEN: ${{ steps.token.outputs.token }}
116122 with:
117123 version: ${{ github.event.inputs.version }}
118124 force: ${{ github.event.inputs.force }}
You can’t perform that action at this time.
0 commit comments