Merge pull request #31578 from woocommerce/fix/smoke-test-label

use PR labels for label check on PR smoke test
This commit is contained in:
Jonathan Lane 2022-01-07 09:57:56 -08:00 committed by GitHub
commit 9f29bb48b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ jobs:
await script({github, context})
- name: Remove label from pull request.
if: always() && ${{ contains(github.event.label.name, format( 'run{0} smoke tests', ':') ) }}
if: always() && ${{ contains( github.event.pull_request.labels.*.name, format('run{0} smoke tests', ':')) }}
uses: actions-ecosystem/action-remove-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}