Skip to content

Commit 1322f71

Browse files
committed
build: use GitHub app to automate releases (#539)
1 parent 2819bc6 commit 1322f71

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ jobs:
5454
runs-on: ubuntu-latest
5555
needs: isthmus-native-image-mac-linux
5656
steps:
57+
- uses: actions/create-github-app-token@v2
58+
id: app-token
59+
with:
60+
app-id: ${{ secrets.RELEASER_ID }}
61+
private-key: ${{ secrets.RELEASER_KEY }}
5762
- name: Checkout code
5863
uses: actions/checkout@v5
5964
with:
@@ -81,7 +86,7 @@ jobs:
8186
- name: Run semantic-release
8287
run: ./ci/release/run.sh
8388
env:
84-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
8590
SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }}
8691
SIGNING_PASSWORD: ${{ secrets.SIGNING_PASSWORD }}
8792
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}

0 commit comments

Comments
 (0)