Skip to content

Commit

Permalink
update is-release filter (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes committed Aug 11, 2022
1 parent 80ed1a3 commit 400cec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 400cec1

Please sign in to comment.