Update cypress.yaml

pull/28217/head
Michael Telatynski 2022-06-09 09:33:19 +01:00 committed by GitHub
parent 3fc6554225
commit fc133041e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ jobs:
# Only run Percy when it is demanded or on develop
- name: Disable Percy if not needed
if: |
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy') ||
github.event.workflow_run.event != 'pull_request'
github.event.workflow_run.event != 'pull_request' ||
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
run: |
echo "PERCY_ENABLE=0" >> $GITHUB_ENV