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:
parent
731eeac087
commit
131cea1215
|
@ -4,7 +4,7 @@ on:
|
||||||
branches: master
|
branches: master
|
||||||
jobs:
|
jobs:
|
||||||
Format:
|
Format:
|
||||||
if: "!contains(github.event.head_commit.message, '!format')"
|
if: "contains(github.event.head_commit.message, '!format')"
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
Loading…
Reference in New Issue