From cc811a98a17936c97c6ced77c2d00ff523cf85d4 Mon Sep 17 00:00:00 2001 From: federicobo Date: Thu, 16 Nov 2023 15:53:20 +0100 Subject: [PATCH] adjust codeql settings --- .github/codeql/codeql-config.java-kotlin.yml | 1 + ...odeql-config.yml => codeql-config.javascript-typescript.yml} | 1 + .github/workflows/codeql.yml | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .github/codeql/codeql-config.java-kotlin.yml rename .github/codeql/{codeql-config.yml => codeql-config.javascript-typescript.yml} (53%) diff --git a/.github/codeql/codeql-config.java-kotlin.yml b/.github/codeql/codeql-config.java-kotlin.yml new file mode 100644 index 0000000..1fa79bc --- /dev/null +++ b/.github/codeql/codeql-config.java-kotlin.yml @@ -0,0 +1 @@ +name: "Java-Kotlin configuration" \ No newline at end of file diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.javascript-typescript.yml similarity index 53% rename from .github/codeql/codeql-config.yml rename to .github/codeql/codeql-config.javascript-typescript.yml index 684d1cb..e6dc47e 100644 --- a/.github/codeql/codeql-config.yml +++ b/.github/codeql/codeql-config.javascript-typescript.yml @@ -1,2 +1,3 @@ +name: "Javascript-Typescript configuration" paths-ignore: - '**/juice-shop/**/codefixes/**' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index c16dddf..4da8f0a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -35,7 +35,7 @@ jobs: - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: - config-file: ./.github/codeql/codeql-config.yml + config-file: ./.github/codeql/codeql-config.${{ matrix.language }}.yml languages: ${{ matrix.language }} # Build the codebase, codeql offer an autobuild steps for most of his supported languages: https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages