From 46a16b0336870ab35d6183e2bed2704c9d9b3c00 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 22 Jan 2021 13:19:52 +0200 Subject: [PATCH] Update buildAndDeploy.yml --- .github/workflows/buildAndDeploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildAndDeploy.yml b/.github/workflows/buildAndDeploy.yml index 1dc5fdce48..16147443ef 100644 --- a/.github/workflows/buildAndDeploy.yml +++ b/.github/workflows/buildAndDeploy.yml @@ -19,8 +19,8 @@ on: jobs: # This workflow contains a single job called "build" build: - # The type of runner that the job will run on - if: !startsWith(github.event.pull_request.body, "Update ") + # We can't simply put !startsWith - see https://github.community/t/expression-syntax-for-not-startswith/17040 + if: startsWith(github.event.pull_request.body, "Update ") != true runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job