Update Format.yaml: Change execution condition of workflow

Execute format workflow only if there is `!format` in the commit message.
pull/1382/head
shanghai yakisoba chan! 3 years ago committed by GitHub
parent 731eeac087
commit 131cea1215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save