From fd66bdc0734fa429e5c647aa6b3a13276347d6a2 Mon Sep 17 00:00:00 2001 From: "kai [they]" Date: Thu, 14 Nov 2024 07:24:20 -0800 Subject: [PATCH] [no ticket] only bother slack on failure (#2832) ## Context This was always the intention here, I just forgot to adjust the condition --- .github/workflows/vulnerability-scans.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vulnerability-scans.yml b/.github/workflows/vulnerability-scans.yml index c5ec4fe5a..56e6b5503 100644 --- a/.github/workflows/vulnerability-scans.yml +++ b/.github/workflows/vulnerability-scans.yml @@ -247,7 +247,7 @@ jobs: accept-filenames: ${{ env.DOCKLE_ACCEPT_FILES }} - name: Save output to workflow summary - if: always() # Runs even if there is a failure + if: failure() # Only runs if there is a failure run: | { echo '```json'