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