mirror of
https://github.com/element-hq/element-web
synced 2024-11-25 10:45:51 +03:00
Include percy in branch protection conditionally (#9894)
This commit is contained in:
parent
33b89a5709
commit
a07f9a723f
1 changed files with 9 additions and 0 deletions
9
.github/workflows/cypress.yaml
vendored
9
.github/workflows/cypress.yaml
vendored
|
@ -181,6 +181,15 @@ jobs:
|
|||
with:
|
||||
name: cypress-junit
|
||||
path: cypress/results
|
||||
|
||||
- name: Check Percy passed
|
||||
if: needs.prepare.outputs.percy_enable
|
||||
uses: lewagon/wait-on-check-action@v1.2.0
|
||||
with:
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
wait-interval: 10
|
||||
check-name: percy/matrix-react-sdk
|
||||
report:
|
||||
name: Report results
|
||||
needs: tests
|
||||
|
|
Loading…
Reference in a new issue