fix(ci): target master branch in security.yml and codeql.yml
Both workflow files referenced 'main' branch for push/PR triggers, but the repo default branch is 'master'. This caused security scanning and CodeQL analysis to never trigger on pushes to the default branch. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
4
.github/workflows/security.yml
vendored
4
.github/workflows/security.yml
vendored
@@ -2,9 +2,9 @@ name: Security Scanning
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [main]
|
||||
branches: [master]
|
||||
schedule:
|
||||
# Run daily at 05:43 UTC — catch new CVEs early
|
||||
- cron: "43 5 * * *"
|
||||
|
||||
Reference in New Issue
Block a user