Skip to content

Commit

Permalink
chore: update release workflow with token (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrschumacher authored Aug 22, 2024
1 parent f2c6689 commit 6711ebb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ jobs:
release-please:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
with:
app-id: "${{ secrets.APP_ID }}"
private-key: "${{ secrets.AUTOMATION_KEY }}"
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f
id: release
with:
token: ${{ steps.generate_token.outputs.token }}
release-type: go

###
Expand All @@ -43,6 +50,8 @@ jobs:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-go@v5
if: ${{ steps.release.outputs.release_created }}
with:
go-version-file: go.mod
- name: make-targets
if: ${{ steps.release.outputs.release_created }}
env:
Expand Down

0 comments on commit 6711ebb

Please sign in to comment.