From 006152ff7aa6af65a90c1f52962447ffca848dee Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 13 Aug 2023 12:11:39 -0700 Subject: ci: run codeql on pull requests #24545 Also use cache to save 1 minute. --- .github/workflows/codeql.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit