Skip to content

Commit

Permalink
Update Format.yaml: Change execution condition of workflow
Browse files Browse the repository at this point in the history
Execute format workflow only if there is `!format` in the commit message.
  • Loading branch information
koumaza authored Nov 28, 2020
1 parent 731eeac commit 131cea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
branches: master
jobs:
Format:
if: "!contains(github.event.head_commit.message, '!format')"
if: "contains(github.event.head_commit.message, '!format')"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
Expand Down

0 comments on commit 131cea1

Please sign in to comment.