Add CodeQL workflow for security scanning #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | ||
| push: | ||
| branches: [ master, rc ] # Replace 'main' with your default branch name | ||
| pull_request: | ||
| branches: [ master, rc ] # Triggers on PRs targeting only default branch | ||
| schedule: | ||
| - cron: '0 0 * * 1' # Optional: weekly scan on default branch | ||