From a8f5bb53e8b2730c886026d23d7d55fb42a8d7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Kody=20Fernandes?= Date: Tue, 20 Dec 2022 22:07:06 +0100 Subject: [PATCH] CodeQL: Ignore test and docs paths --- .github/codeql/codeql-config.yml | 5 +++++ .github/workflows/codeql.yml | 1 + 2 files changed, 6 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 0000000..f7d992d --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,5 @@ +name: "CodeQL config" + +paths-ignore: + - docs + - test \ No newline at end of file diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b953426..13fcfcf 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -36,6 +36,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.