We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 469be2d commit c996264Copy full SHA for c996264
1 file changed
.github/workflows/release.yaml
@@ -27,6 +27,13 @@ jobs:
27
uses: actions/checkout@v4
28
with:
29
fetch-depth: 0
30
+ - name: Generate GitHub App token
31
+ id: app-token
32
+ if: ${{ secrets.ETHIACK_RELEASE_BOT_APP_ID != '' && secrets.ETHIACK_RELEASE_BOT_APP_PRIVATE_KEY != '' }}
33
+ uses: actions/create-github-app-token@v1
34
+ with:
35
+ app-id: ${{ secrets.ETHIACK_RELEASE_BOT_APP_ID }}
36
+ private-key: ${{ secrets.ETHIACK_RELEASE_BOT_APP_PRIVATE_KEY }}
37
- name: Setup Node.js
38
uses: actions/setup-node@v4
39
@@ -42,5 +49,5 @@ jobs:
42
49
run: npm audit signatures
43
50
- name: Release
44
51
env:
45
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
+ GITHUB_TOKEN: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}
46
53
run: npx semantic-release
0 commit comments