Skip to content

Commit 5b99c5f

Browse files
authored
ci: use actions/create-github-app-token for release workflow (#75)
1 parent 59b5597 commit 5b99c5f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/release-please.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@ jobs:
1818
release_please:
1919
name: Create Release
2020
runs-on: [ubuntu-latest]
21-
outputs:
22-
releases_created: ${{ steps.release.outputs.releases_created }}
23-
tag_name: ${{ steps.release.outputs.tag_name }}
2421
steps:
22+
- uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
23+
id: token
24+
with:
25+
app-id: ${{ vars.FOREST_RELEASER_APP_ID }}
26+
private-key: ${{ secrets.FOREST_RELEASER_APP_PRIVATE_KEY }}
2527
- uses: googleapis/release-please-action@f3969c04a4ec81d7a9aa4010d84ae6a7602f86a7 # v4.1.1
2628
id: release
2729
with:
28-
command: manifest
29-
token: ${{ secrets.RELEASE_PLEASE_WORKFLOW_ACCESS }} # expires 2024-12-31, requires workflow scope
30+
token: ${{ steps.token.outputs.token }}

0 commit comments

Comments
 (0)