Include percy in branch protection conditionally (#9894)

pull/28217/head
Michael Telatynski 2023-02-01 15:52:34 +00:00 committed by GitHub
parent 33b89a5709
commit a07f9a723f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -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