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