From e6d9f5d21d7738f1e53926ee81fa4cce34a76cab Mon Sep 17 00:00:00 2001 From: Paolo Galli Date: Fri, 27 Sep 2024 14:47:59 +0200 Subject: [PATCH] redirect output --- .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 fdc61fc87..7bf947a3c 100644 --- a/.github/workflows/gosec.yaml +++ b/.github/workflows/gosec.yaml @@ -27,7 +27,8 @@ jobs: args: '-fmt json -exclude=G104,G115,G304,G406,G507 ./...' - name: Capture Gosec Output if: failure() - run: echo "gosec-output=$(echo "${{ steps.gosec-run.outputs.issues }}")" >> $GITHUB_OUTPUT + continue-on-error: true + run: echo "gosec-output=$(echo "${{ steps.gosec-run.outputs.gosec-output }}")" >> $GITHUB_OUTPUT notify-slack: name: Notify Slack