Skip to content

Commit

Permalink
fix output
Browse files Browse the repository at this point in the history
  • Loading branch information
paologalligit committed Sep 27, 2024
1 parent 8532f6f commit 653ab51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ jobs:
- name: Capture Gosec Output
continue-on-error: true
if: failure()
run: echo "gosec-output=$(echo "${{ steps.gosec-run.outputs }}")" >> $GITHUB_OUTPUT
run: echo "gosec-output=$(echo "${{ steps.gosec-run.outputs.Stats }}")" >> $GITHUB_OUTPUT

notify-slack:
name: Notify Slack
needs:
- gosec
if: always() && needs.gosec.result != 'success'
if: always() && nneeds.gosec.outputs.gosec-output.found != 0
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down

0 comments on commit 653ab51

Please sign in to comment.