fix: restrict workflows to trigger only on pushes to the main branch

This commit is contained in:
GitHub Actions
2026-02-26 04:11:38 +00:00
parent 06ceb9ef6f
commit 8ff3f305db
5 changed files with 10 additions and 2 deletions

View File

@@ -2,9 +2,9 @@ name: CodeQL - Analyze
on:
pull_request:
branches: [main, nightly, development]
branches: [main, nightly, development, feature/**]
push:
branches: [main, nightly, development, 'feature/**', 'fix/**']
branches: [main]
workflow_dispatch:
schedule:
- cron: '0 3 * * 1' # Mondays 03:00 UTC