From fcf5a4fe5e5adc8ca9de4f0fc86019dac3938595 Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Tue, 9 Jul 2024 15:49:08 -0700 Subject: [PATCH] fix(ci): correct slack failure message conditional (#2457) --- .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 }}