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:
commit
9f29bb48b4
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue