From 8080a0699f96b0c65a796fa394e1b7f627c8c36e Mon Sep 17 00:00:00 2001 From: Mykyta Maliarchuk <84377976+nikita-web-ua@users.noreply.github.com> Date: Tue, 12 Sep 2023 14:57:51 +0200 Subject: [PATCH] [ACS-6004] Exclude paths from CodeQL analysis (#8905) * [ACS-6004] added ignored paths to codeql * [ACS-6004] custom codeql config --- .github/codeql/codeql-config.yml | 6 ++++++ .github/workflows/codeql-analysis.yml | 1 + 2 files changed, 7 insertions(+) create mode 100644 .github/codeql/codeql-config.yml diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 0000000000..7af72a558b --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,6 @@ +name: "CodeQL config" + +paths-ignore: + - 'e2e/resources/**/*.*' + - 'docs/**/*.*' + diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 4c36e29e2b..c38a63c4e7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -34,6 +34,7 @@ jobs: # Override language selection by uncommenting this and choosing your languages with: languages: javascript + config-file: ./.github/codeql/codeql-config.yml # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below)