From 4d86e589b64143394f49a98849b4afb30a6749c8 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 9 Jul 2024 12:31:44 -0700 Subject: [PATCH] fix(ci): correct slack failure message conditional --- .github/workflows/reusable-e2e.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-e2e.yml b/.github/workflows/reusable-e2e.yml index 2407598141..2bc75efcfb 100644 --- a/.github/workflows/reusable-e2e.yml +++ b/.github/workflows/reusable-e2e.yml @@ -101,7 +101,7 @@ jobs: path: /tmp/logs.txt - name: Notify Slack on Failure - if: failure() && (github.event_name == 'push' && github.ref == 'refs/heads/develop') || github.event_name == 'schedule' + if: failure() && ((github.event_name == 'push' && github.ref == 'refs/heads/develop') || github.event_name == 'schedule') uses: 8398a7/action-slack@v3 with: status: ${{ job.status }}