Skip to content

Commit 400cec1

Browse files
authored
update is-release filter (#1072)
1 parent 80ed1a3 commit 400cec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66

77
jobs:
88
is-release:
9-
# release merge commits come from GitHub user
10-
if: github.event.head_commit.committer.name == 'GitHub'
9+
# release merge commits come from github-actions[bot]
10+
if: github.event.commits[0].author.name == 'github-actions[bot]'
1111
outputs:
1212
IS_RELEASE: ${{ steps.is-release.outputs.IS_RELEASE }}
1313
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)