From 400cec1d46f75d8d2313604d830f1dfe038fcaf9 Mon Sep 17 00:00:00 2001 From: ricky Date: Thu, 11 Aug 2022 03:05:36 -0400 Subject: [PATCH] update is-release filter (#1072) --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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