diff --git a/.github/workflows/gosec.yaml b/.github/workflows/gosec.yaml index 7b5bc5c36..7d1a0555a 100644 --- a/.github/workflows/gosec.yaml +++ b/.github/workflows/gosec.yaml @@ -27,7 +27,7 @@ jobs: args: '-fmt json -exclude=G104,G115,G304,G406,G507 ./...' - name: Capture Gosec Output if: failure() - run: echo "${{ steps.gosec-run.outputs }}" + run: echo "${{ fromJson(needs.gosec-run.outputs) }}" notify-slack: name: Notify Slack