From 01849c71681b189925ab910f8acad7bf3e5fb214 Mon Sep 17 00:00:00 2001 From: Yair Morgenstern Date: Fri, 22 Jan 2021 13:43:44 +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 33b309ae96..47976e9d57 100644 --- a/.github/workflows/buildAndDeploy.yml +++ b/.github/workflows/buildAndDeploy.yml @@ -20,13 +20,13 @@ jobs: # This workflow contains a single job called "build" build: # We can't simply put !startsWith - see https://github.community/t/expression-syntax-for-not-startswith/17040 - if: startsWith(github.event.pull_request.title, 'Update ') != true + if: startsWith(github.event.commmits[0].message, 'Update ') != true runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: check - run: echo ${{ github.event.pull_request }} + run: echo ${{ github.event.commmits[0].message }} # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2