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