Skip to content

Commit 35d855e

Browse files
committed
fix(workflow): update branches for CodeQL analysis trigger
Ensure CodeQL analysis triggers on pushes to both master and main branches.
1 parent 8ea019e commit 35d855e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ name: "CodeQL"
77

88
on:
99
push:
10-
branches: [master]
10+
branches: ["master", "main"] # Trigger on pushes to both master and main branches
1111
pull_request:
1212
# The branches below must be a subset of the branches above
13-
branches: [master]
13+
branches: ["master", "main"]
1414
schedule:
1515
- cron: "0 8 * * 1" # Every Monday at 08:00 UTC
1616

0 commit comments

Comments
 (0)