From c2c20ca34653abc7af3a03247a1be850b65a78ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Wed, 15 Dec 2021 08:39:18 +0100 Subject: [PATCH] Add cypress summary for easier branch protection mgmt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- .github/workflows/cypress.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 4474a2bea..d1e9e8c78 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -67,3 +67,13 @@ jobs: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} # https://github.com/cypress-io/github-action/issues/124 COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }} + + summary: + runs-on: ubuntu-latest + needs: cypress + + if: always() + + steps: + - name: Summary status + run: if ${{ needs.cypress.result != 'success' && needs.cypress.result != 'skipped' }}; then exit 1; fi