From 131cea121538944e1205e80205f246b0e21ea710 Mon Sep 17 00:00:00 2001 From: shanghai yakisoba chan! Date: Sat, 28 Nov 2020 21:39:27 +0900 Subject: [PATCH] Update Format.yaml: Change execution condition of workflow Execute format workflow only if there is `!format` in the commit message. --- .github/workflows/Format.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Format.yaml b/.github/workflows/Format.yaml index 32e9279..32f0226 100644 --- a/.github/workflows/Format.yaml +++ b/.github/workflows/Format.yaml @@ -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