From f295b539a1f8293f5346b8d4a4a9bdf6e3e5dd71 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 12 Nov 2020 11:14:34 +0100 Subject: [PATCH] Adding a config file maybe? --- .github/workflows/codeql-analysis.yml | 12 +++--------- .github/workflows/codeql-config.yml | 10 ++++++++++ 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/codeql-config.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index fe653524c0..4307b53c49 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -51,13 +51,7 @@ jobs: - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1 - paths-ignore: - - node_modules - - Umbraco.TestData - - Umbraco.Tests - - Umbraco.Tests.AcceptanceTest - - Umbraco.Tests.Benchmarks - - bin - paths: - - src + with: + config-file: ./.github/codeql-config.yml + diff --git a/.github/workflows/codeql-config.yml b/.github/workflows/codeql-config.yml new file mode 100644 index 0000000000..afb05e76d2 --- /dev/null +++ b/.github/workflows/codeql-config.yml @@ -0,0 +1,10 @@ +name: "CodeQL config" +paths-ignore: + - node_modules + - Umbraco.TestData + - Umbraco.Tests + - Umbraco.Tests.AcceptanceTest + - Umbraco.Tests.Benchmarks + - bin +paths: + - src \ No newline at end of file