diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 80c05f0b..d8064ffc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -6,17 +6,18 @@ name: "CodeQL" -paths: - - src -paths-ignore: - - src/test - on: push: branches: [main] + paths: + - 'src/**' + - '!src/test/**' pull_request: # The branches below must be a subset of the branches above branches: [main] + paths: + - 'src/**' + - '!src/test/**' schedule: - cron: '0 9 * * 5'