From 4140a6d3644f2f57fba9a9705bf226a680a99851 Mon Sep 17 00:00:00 2001 From: Manuel Puchta Date: Mon, 2 Dec 2024 13:34:58 +0100 Subject: [PATCH] Add Slack notify for failing scan again --- .github/workflows/scan.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 38e6d75..d13af74 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -70,8 +70,8 @@ jobs: with: sarif_file: "trivy-results.sarif" - # - name: Send status to Slack - # uses: digitalservicebund/notify-on-failure-gha@814d0c4b2ad6a3443e89c991f8657b10126510bf # v1.5.0 - # if: ${{ failure() }} - # with: - # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + - name: Send status to Slack + uses: digitalservicebund/notify-on-failure-gha@814d0c4b2ad6a3443e89c991f8657b10126510bf # v1.5.0 + if: ${{ failure() }} + with: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}