Update Format.yaml: Change execution condition of workflow

Execute format workflow only if there is `!format` in the commit message.
This commit is contained in:
shanghai yakisoba chan!
2020-11-28 21:39:27 +09:00
committed by GitHub
parent 731eeac087
commit 131cea1215

View File

@@ -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