From 8412b00fc1931686fe0d3898d1a08467443f6184 Mon Sep 17 00:00:00 2001 From: Paul Cothenet Date: Wed, 1 Sep 2021 13:02:47 -0700 Subject: [PATCH] On failure only (#39) --- .github/workflows/health_check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/health_check.yml b/.github/workflows/health_check.yml index 975fdf8..1b71cf5 100644 --- a/.github/workflows/health_check.yml +++ b/.github/workflows/health_check.yml @@ -30,7 +30,7 @@ jobs: - name: Notify slack uses: kpritam/slack-job-status-action@v1 with: - if: ${{ always() }} + if: ${{ failure() }} job-status: ${{ job.status }} slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} - channel: github-actions + channel: eng-notifications