Update buildAndDeploy.yml

This commit is contained in:
Yair Morgenstern 2021-01-22 13:43:44 +02:00 committed by GitHub
parent 5432da2d2c
commit 01849c7168
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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