diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 8611b980a..61ccf10cc 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -14,9 +14,23 @@ name: "CodeQL" on: push: branches: [ master ] + paths: + - '**.cs' + - '**.js' + - Jackett/src/** + - '!Jackett/src/Jackett.Common/Indexers/**' + - '!Jackett/src/Jackett.IntegrationTests/**' + - '!Jackett/src/Jackett.Test/**' pull_request: # The branches below must be a subset of the branches above branches: [ master ] + paths: + - '**.cs' + - '**.js' + - Jackett/src/** + - '!Jackett/src/Jackett.Common/Indexers/**' + - '!Jackett/src/Jackett.IntegrationTests/**' + - '!Jackett/src/Jackett.Test/**' schedule: - cron: '00 00 * * 5'