diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 9f27f71e50..b35e265418 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -6,8 +6,8 @@ on: jobs: is-release: - # release merge commits come from GitHub user - if: github.event.head_commit.committer.name == 'GitHub' + # release merge commits come from github-actions[bot] + if: github.event.commits[0].author.name == 'github-actions[bot]' outputs: IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }} runs-on: ubuntu-latest