From f7947858665b847f40028d58e5d3e3013de93929 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Thu, 9 Dec 2021 17:36:05 +0000 Subject: [PATCH] codeql: only trigger on changes to core .cs and .js files --- .github/workflows/codeql-analysis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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'