From df86d191030e76cb339c3d774a41ef6f81f6216f Mon Sep 17 00:00:00 2001 From: Paolo Galli Date: Fri, 27 Sep 2024 16:59:49 +0200 Subject: [PATCH] change condition --- .github/workflows/gosec.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gosec.yaml b/.github/workflows/gosec.yaml index 7fe0bd261..285903f3c 100644 --- a/.github/workflows/gosec.yaml +++ b/.github/workflows/gosec.yaml @@ -8,6 +8,7 @@ on: jobs: gosec: runs-on: ubuntu-latest + continue-on-error: true env: GO111MODULE: on outputs: @@ -33,7 +34,7 @@ jobs: name: Notify Slack needs: - gosec - if: always() && needs.gosec.outputs.gosec-output != 'error' + if: always() && needs.gosec.outputs.gosec-output == 'error' runs-on: ubuntu-latest steps: - name: Checkout code