Skip to content

Commit 1ecf1a7

Browse files
committed
fix: using sidequest release app
1 parent ec1734a commit 1ecf1a7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1414
steps:
15+
- name: 'Generate token'
16+
id: generate_token
17+
uses: tibdex/github-app-token@v1
18+
with:
19+
app_id: ${{ secrets.BOT_APP_ID }}
20+
private_key: ${{ secrets.BOT_PRIVATE_KEY }
21+
1522
- name: Checkout repository
1623
uses: actions/checkout@v4
1724

@@ -51,7 +58,5 @@ jobs:
5158

5259
- name: Semantic Release
5360
env:
54-
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
55-
GIT_COMMITTER_EMAIL: [email protected]
56-
GIT_AUTHOR_EMAIL: [email protected]
61+
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
5762
run: npx semantic-release

0 commit comments

Comments
 (0)