From 6091ea08a02f705355cb22d08a29ab81d6fd31e1 Mon Sep 17 00:00:00 2001 From: Peter Makowski Date: Thu, 25 Jan 2024 14:36:28 +0100 Subject: [PATCH] Revert "test run" This reverts commit a3b09ca7efdb08acddd4c7b4223ddc49001cc187. --- .github/workflows/cypress.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 2ea7892d9d..1f14e96979 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -61,7 +61,7 @@ jobs: path: cypress/screenshots - name: Create issue on failure # Create an issue if the job fails on push to main or 3.* branches - if: github.event_name == 'push' && contains(fromJson('["main", "3.*", "*cypress*"]'), env.BRANCH_NAME) + if: failure() && github.event_name == 'push' && contains(fromJson('["main", "3.*", "*cypress*"]'), env.BRANCH_NAME) uses: JasonEtco/create-an-issue@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}