From 86755e130c6b1ff6cfac992361cb2a38e8894413 Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Fri, 15 Oct 2021 13:07:22 -0400 Subject: [PATCH] Add Slack notifications constraint (#1639) --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ac2f9541a..a7178a0933 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -421,6 +421,7 @@ jobs: - upload steps: - name: Check if any job failed + if: ${{ (github.ref == 'refs/heads/master') || (github.ref == 'refs/heads/rc') }} env: CLOC_STATUS: ${{ needs.cloc.result }} TESTING_STATUS: ${{ needs.testing.result }}