aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/codeql.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 497a79d2d1..61e6216377 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -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