Skip to content

Commit c2ad37f

Browse files
authored
fix(ci): generate new token for release-please (#1348)
1 parent cfbe594 commit c2ad37f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,16 @@ jobs:
7474
contents: write # needed for github actions bot to write to repo
7575
pull-requests: write
7676
steps:
77+
- name: Generate token
78+
id: app-token
79+
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf
80+
with:
81+
app-id: ${{ secrets.GH_APP_ID }}
82+
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
7783
- uses: googleapis/release-please-action@v4
7884
id: release
7985
with:
86+
token: ${{ steps.app-token.outputs.token }}
8087
target-branch: ${{ github.ref_name }}
8188
config-file: release-please-config.json
8289
manifest-file: .release-please-manifest.json

0 commit comments

Comments
 (0)