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/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@@ -2,9 +2,9 @@ name: CodeQL Analysis
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
schedule:
|
schedule:
|
||||||
# Run weekly on Monday at 06:17 UTC — off-peak to avoid :00/:30 congestion
|
# Run weekly on Monday at 06:17 UTC — off-peak to avoid :00/:30 congestion
|
||||||
- cron: "17 6 * * 1"
|
- cron: "17 6 * * 1"
|
||||||
|
|||||||
4
.github/workflows/security.yml
vendored
4
.github/workflows/security.yml
vendored
@@ -2,9 +2,9 @@ name: Security Scanning
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [master]
|
||||||
schedule:
|
schedule:
|
||||||
# Run daily at 05:43 UTC — catch new CVEs early
|
# Run daily at 05:43 UTC — catch new CVEs early
|
||||||
- cron: "43 5 * * *"
|
- cron: "43 5 * * *"
|
||||||
|
|||||||
Reference in New Issue
Block a user