Skip to content

Commit 37d9258

Browse files
fix: update craft workflows to use Sentry release bot credentials
Migrate from the old personal APP_ID/APP_PRIVATE_KEY variables to the Sentry org-standard SENTRY_RELEASE_BOT_CLIENT_ID/SENTRY_RELEASE_BOT_PRIVATE_KEY. Also bump actions/create-github-app-token from v1 to v3.
1 parent f28ac9a commit 37d9258

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
packages: write
2525
timeout-minutes: 15
2626
steps:
27-
- uses: actions/create-github-app-token@v1
27+
- uses: actions/create-github-app-token@v3
2828
id: app-token
2929
with:
30-
app-id: ${{ vars.APP_ID }}
31-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
30+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
31+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
3232

3333
- name: Parse publish request
3434
id: inputs

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131
contents: write
3232
issues: write
3333
steps:
34-
- uses: actions/create-github-app-token@v1
34+
- uses: actions/create-github-app-token@v3
3535
id: app-token
3636
with:
37-
app-id: ${{ vars.APP_ID }}
38-
private-key: ${{ secrets.APP_PRIVATE_KEY }}
37+
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
38+
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
3939

4040
- uses: actions/checkout@v4
4141
with:

0 commit comments

Comments
 (0)