mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03:00
Update cypress.yaml (#8804)
This commit is contained in:
parent
4e1958d9fe
commit
3510f8efa4
1 changed files with 2 additions and 2 deletions
4
.github/workflows/cypress.yaml
vendored
4
.github/workflows/cypress.yaml
vendored
|
@ -63,8 +63,8 @@ jobs:
|
|||
# Only run Percy when it is demanded or on develop
|
||||
- name: Disable Percy if not needed
|
||||
if: |
|
||||
github.event.workflow_run.event != 'pull_request' ||
|
||||
contains(fromJSON(steps.prdetails.outputs.data).labels.*.name, 'X-Needs-Percy')
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue