Add safer if check

This commit is contained in:
Greg 2021-09-22 15:56:53 -06:00
parent 299a6b5ca2
commit 7a2ba8800a
1 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,9 @@ jobs:
npx wc-e2e test:e2e
- name: Remove label from pull request.
if: always()
if: |
always() &&
"${{ contains(github.event.label.name, 'run: smoke tests') }}"
uses: actions/github-script@v4
with:
script: |