Skip to content

Commit

Permalink
change condition
Browse files Browse the repository at this point in the history
  • Loading branch information
paologalligit committed Sep 27, 2024
1 parent ae95259 commit df86d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
gosec:
runs-on: ubuntu-latest
continue-on-error: true
env:
GO111MODULE: on
outputs:
Expand All @@ -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
Expand Down

0 comments on commit df86d19

Please sign in to comment.