ci: codeql: enable on PRs

Enable CodeQL on PRs to catch issues before they are merged.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2025-03-23 14:45:15 -04:00 committed by Benjamin Cabé
commit be18415fc3

View file

@ -2,9 +2,18 @@ name: "CodeQL"
on:
push:
branches: ["main"]
branches:
- main
- v*-branch
- collab-*
schedule:
- cron: '34 16 * * 3'
pull_request:
branches:
- main
- v*-branch
- collab-*
permissions:
contents: read
jobs: