Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Security scan

on:
workflow_dispatch:
schedule:
- cron: "0 6 * * 0" # At 06AM on Sunday.

permissions:
actions: read
checks: write
contents: read
id-token: write
packages: read
pull-requests: write
security-events: write

jobs:
security_scan:
uses: ZeroGachis/.github/.github/workflows/security-scan.yml@v7
secrets: inherit
with:
scan-image: false
scan-iac: false
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate security scan workflow not removed

Medium Severity

A pre-existing security_scan.yml workflow already exists in .github/workflows/, which runs a similar security scan (using security_scan_repo.yml@v6 on Mondays at 10AM). The newly added security-scan.yml appears to be its replacement (using security-scan.yml@v7), but the old file was not deleted. Both workflows will run on their respective schedules, producing redundant security scans.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f271868. Configure here.

Loading