Skip to content

Commit c32c187

Browse files
schedules scan comments
1 parent 8fe8e9e commit c32c187

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
default: false
2424
schedule:
2525
# 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.
2629
- cron: '0 0 * * *'
2730

2831
jobs:
@@ -593,7 +596,7 @@ jobs:
593596
SLACK_ICON_EMOJI: ":x:"
594597
SLACK_USERNAME: "Scheduled Build"
595598
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."
597600
SLACK_FOOTER: "<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View Workflow Logs>"
598601

599602
delete-runner:

0 commit comments

Comments
 (0)