Fix merge queue X-Needs-Percy handling (#10802)

This commit is contained in:
Michael Telatynski 2023-05-09 09:22:16 +01:00 committed by GitHub
parent a0228994dc
commit f4f2cb19b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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