diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index eaf6ec22..d9a9aba2 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -13,7 +13,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Close PR if commit message contains "Update" - if: ${{ github.event.pull_request.title }}.includes('Update') + if: ${{ github.event.pull_request.title.includes('Update') }} uses: superbrothers/close-pull-request@v3 with: # Optional. Post a issue comment just before closing a pull request.