Skip to content

Commit cada768

Browse files
authored
fix: release please (#127)
1 parent e4515cb commit cada768

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/release-please.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,23 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
812
jobs:
913
release-please:
1014
runs-on: ubuntu-latest
1115
steps:
16+
- name: Create GitHub App Token
17+
id: app-token
18+
uses: actions/create-github-app-token@v1
19+
with:
20+
app-id: ${{ secrets.KITABISA_RELEASE_BOT_APP_ID }}
21+
private-key: ${{ secrets.KITABISA_RELEASE_BOT_APP_PRIVATE_KEY }}
22+
1223
- name: Release please
1324
uses: googleapis/release-please-action@v4
1425
with:
1526
release-type: node
16-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
27+
token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)