Skip to content

Commit

Permalink
ci: Use app token for release-please action (#592)
Browse files Browse the repository at this point in the history
Signed-off-by: Dave Henderson <[email protected]>
  • Loading branch information
hairyhenderson authored Apr 19, 2024
1 parent 5ffaf92 commit ecbb02c
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GH_PAT }}
release-type: go
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ steps.app-token.outputs.token }}
release-type: go

0 comments on commit ecbb02c

Please sign in to comment.