From 49c9330e28991fb537dc415b0b622b460004e7f4 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 12 Nov 2020 10:49:21 +0100 Subject: [PATCH] Get CodeQL to only scan the relevant directories --- .github/workflows/codeql-analysis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index e904bdf9b6..0ad4b11c5b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -1,8 +1,16 @@ name: "Code scanning - action" - +paths-ignore: + - node_modules + - Umbraco.TestData + - Umbraco.Tests + - Umbraco.Tests.AcceptanceTest + - Umbraco.Tests.Benchmarks + - bin +paths: + - src on: push: - branches: [v8/none] + branches: [v8/contrib] pull_request: # The branches below must be a subset of the branches above # SJ: Don't run on PR branches for now