Skip to content

Commit 69f92f0

Browse files
authored
chore(ci): Update 'Release Please' to v4 (#61)
1 parent 571e351 commit 69f92f0

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/release-pr.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,20 @@ jobs:
77
release-pr:
88
name: "Release Please"
99
runs-on: ubuntu-latest
10-
permissions: write-all
10+
permissions:
11+
contents: write
12+
pull-requests: write
1113
steps:
14+
- name: "Generate access token"
15+
id: gentoken
16+
uses: actions/create-github-app-token@v1
17+
with:
18+
app-id: ${{ secrets.RELEASE_PLEASE_APP_ID }}
19+
private-key: ${{ secrets.RELEASE_PLEASE_PRIVATE_KEY }}
1220
- name: "Check out code"
13-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
1422
- name: "Create/update release PR"
1523
uses: google-github-actions/release-please-action@v3
1624
with:
17-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
18-
command: manifest
25+
token: ${{ steps.gentoken.outputs.token }}
1926

0 commit comments

Comments
 (0)