aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-08-13 12:11:39 -0700
committerGitHub <noreply@github.com>2023-08-13 12:11:39 -0700
commit006152ff7aa6af65a90c1f52962447ffca848dee (patch)
tree56dafb8d76f03a7f08a8473d012a6e4dff2eed9e
parent11590543ebad593b9f6d1434b71f019d042cb5d5 (diff)
downloadrneovim-006152ff7aa6af65a90c1f52962447ffca848dee.tar.gz
rneovim-006152ff7aa6af65a90c1f52962447ffca848dee.tar.bz2
rneovim-006152ff7aa6af65a90c1f52962447ffca848dee.zip
ci: run codeql on pull requests #24545
Also use cache to save 1 minute.
-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