From fc133041e35ef39412936658c3ac18e8a7b40679 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 9 Jun 2022 09:33:19 +0100 Subject: [PATCH] Update cypress.yaml --- .github/workflows/cypress.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cypress.yaml b/.github/workflows/cypress.yaml index cc8e39a3c5..6cfb95d0a6 100644 --- a/.github/workflows/cypress.yaml +++ b/.github/workflows/cypress.yaml @@ -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