]> xmof Git - DeDRM.git/commitdiff
Update Format.yaml: Change execution condition of workflow
authorshanghai yakisoba chan! <koumaza--@outlook.com>
Sat, 28 Nov 2020 12:39:27 +0000 (21:39 +0900)
committerGitHub <noreply@github.com>
Sat, 28 Nov 2020 12:39:27 +0000 (21:39 +0900)
Execute format workflow only if there is `!format` in the commit message.

.github/workflows/Format.yaml

index 32e9279d838e69470aa0816ceb1c59681cf56159..32f0226f32bfed57d2021b8633810385a30b631b 100644 (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