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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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