From e183138d2c5badd4b7bd1e8fb16db63efbd11f16 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 23 May 2023 10:07:08 +0900 Subject: [PATCH] Remove vendor js from codeql scan --- .github/codeql/codeql-config.yml | 2 ++ .github/workflows/codeql.yml | 1 + 2 files changed, 3 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 000000000..19f07ed50 --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,2 @@ +paths-ignore: + - 'BTCPayServer/wwwroot/vendor/**/*.test.js' \ No newline at end of file diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 76f059ef3..0bbdf20d1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -50,6 +50,7 @@ jobs: uses: github/codeql-action/init@v2 with: languages: ${{ matrix.language }} + config-file: ./.github/codeql/codeql-config.yml # If you wish to specify custom queries, you can do so here or in a config file. # By default, queries listed here will override any specified in a config file. # Prefix the list here with "+" to use these queries and those in the config file.