You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/build.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,9 @@ on:
23
23
default: false
24
24
schedule:
25
25
# Run at midnight UTC every day
26
+
# Purpose: This scheduled run performs regular vulnerability scans of the codebase
27
+
# and sends notifications to Slack when new critical vulnerabilities are found.
28
+
# The scan results are used to maintain security standards and address issues promptly.
26
29
- cron: '0 0 * * *'
27
30
28
31
jobs:
@@ -593,7 +596,7 @@ jobs:
593
596
SLACK_ICON_EMOJI: ":x:"
594
597
SLACK_USERNAME: "Scheduled Build"
595
598
SLACK_COLOR: "danger"
596
-
SLACK_MESSAGE: "Daily scheduled build with vulnerability scan failed! Please check the logs for details."
599
+
SLACK_MESSAGE: "⚠️ Security Alert: Daily vulnerability scan triggered action! Either critical vulnerabilities were detected or the scan process failed. Please check the vulnerability reports to assess security impact and take appropriate action."
0 commit comments