ci: run codeql on pull requests #24545

Also use cache to save 1 minute.
This commit is contained in:
Justin M. Keyes 2023-08-13 12:11:39 -07:00 committed by GitHub
parent 11590543eb
commit 006152ff7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,11 @@
name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '42 0 * * 0'
workflow_dispatch:
@ -25,6 +30,8 @@ jobs:
with:
languages: cpp
- uses: ./.github/actions/cache
- run: make
- name: Perform CodeQL Analysis