Skip to content

Commit

Permalink
P4PU-668 updated send conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe-LaManna committed Nov 22, 2024
1 parent 231b56b commit 9885ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
echo -e $SCAN_RESULTS
- name: Send notification to Slack
id: slack
if: always() && github.event_name == 'schedule' && steps.scan.outcome == 'failure'
if: always() && (needs.BuildAndScan.outputs.CVE_HIGH > 0 || needs.BuildAndScan.outputs.CVE_CRITICAL > 0)
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2.0.0
with:
payload: |
Expand Down

0 comments on commit 9885ff7

Please sign in to comment.