Only respect X-Needs-Percy in the Merge Queue (#10520)

* Enable merge queues

* Iterate

* Iterate

* iterate

* Only respect X-Needs-Percy in the Merge Queue
This commit is contained in:
Michael Telatynski 2023-04-06 15:30:56 +01:00 committed by GitHub
parent 818e8292cb
commit 9cecac0cee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -65,7 +65,7 @@ jobs:
if: |
github.event.workflow_run.event == 'schedule' ||
(
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.event == 'merge_queue' &&
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
)
run: echo "::set-output name=value::1"