Skip to content

Commit

Permalink
ci: fix release-please workflow (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi authored Mar 21, 2024
1 parent b70d716 commit caa748c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
uses: actions/create-github-app-token@f2acddfb5195534d487896a656232b016a682f3c # v1.9.0
with:
app-id: ${{ secrets.MAZI_RELEASE_APP_ID }}
private-key: ${{ secrets.MAZI_RELEASE_APP_PRIVATE_KEY }}
Expand All @@ -31,7 +31,8 @@ jobs:
manifest-file: .github/files/release-please/.release-please-manifest.json
skip-github-pull-request:
${{ startsWith(github.event.head_commit.message, 'release:') &&
github.event.head_commit.author.name == 'github-actions[bot]' }}
github.event.head_commit.author.name == format('{0}[bot]',
steps.generate_token.outputs.app-slug) }}

move-tags:
needs: [release-please]
Expand Down

0 comments on commit caa748c

Please sign in to comment.