Skip to content

Commit d7d8d27

Browse files
authored
Merge pull request #844 from buildo/fix-release-action
Fix release action
2 parents ae3a660 + 425034d commit d7d8d27

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/release.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
permissions: write-all
88

99
jobs:
10-
checks:
10+
release:
1111
runs-on: ubuntu-latest
12-
name: Checks
12+
name: Release
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
@@ -24,11 +24,18 @@ jobs:
2424
cd packages/bento-design-system
2525
pnpm version --no-git-tag-version --new-version ${{ github.ref_name }}
2626
27+
- name: Get Github App Token
28+
id: github_app_token
29+
uses: getsentry/action-github-app-token@v3
30+
with:
31+
app_id: ${{ secrets.RELEASE_BOT_APP_ID }}
32+
private_key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
33+
2734
- name: Commit & Push changes
2835
uses: actions-js/push@master
2936
with:
3037
message: ${{ github.ref_name }}
31-
github_token: ${{ secrets.GITHUB_TOKEN }}
38+
github_token: ${{ steps.github_app_token.outputs.token }}
3239

3340
- name: Publish to npm
3441
uses: JS-DevTools/npm-publish@v3

0 commit comments

Comments
 (0)