Skip to content

Commit

Permalink
bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgadling committed Dec 20, 2024
1 parent dfa489c commit 65570a2
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- jgadling/test-please

permissions:
contents: write
Expand All @@ -18,6 +18,14 @@ jobs:

runs-on: ubuntu-latest
steps:
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# For why we need to generate a token and not use the default
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.CZI_RELEASE_PLEASE_APP_ID }}
private_key: ${{ secrets.CZI_RELEASE_PLEASE_PK }}
- name: release please
uses: googleapis/release-please-action@v4
id: release
Expand All @@ -26,7 +34,7 @@ jobs:
manifest-file: "release-please.manifest.json"
config-file: "release-please.config.json"
target-branch: "main"
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ steps.generate_token.outputs.token }}

outputs:
paths_released: ${{ steps.release.outputs.paths_released }}
Expand Down

0 comments on commit 65570a2

Please sign in to comment.