From a6319961c9a1baa51abfc14e2b02497e0b459b97 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 7 Dec 2021 12:18:06 +0100 Subject: [PATCH] ci: run the CodeQL action also when its configuration changes Just to make sure we didn't break anything. --- .github/workflows/codeql-analysis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index ffb9be431f..492061353f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,6 +7,10 @@ name: "CodeQL" on: pull_request: branches: [main] + paths: + - .github/codeql-config.yml + - .github/codeql-custom.qls + - .github/workflows/codeql-analysis.yml # It takes the workflow approximately 30 minutes to analyze the code base # so it doesn't seem to make much sense to trigger it on every PR or commit. # It runs daily at 01:00 to avoid colliding with the Coverity workflow. @@ -20,7 +24,6 @@ jobs: analyze: name: Analyze runs-on: ubuntu-latest - if: github.event_name == 'schedule' || github.event.pull_request.user.login == 'dependabot[bot]' concurrency: group: ${{ github.workflow }}-${{ matrix.language }}-${{ github.ref }} cancel-in-progress: true -- 2.25.1