From 0fcd5c23186fe2c12434042a4602b642603b8a66 Mon Sep 17 00:00:00 2001 From: Sebastian Hildebrandt Date: Sun, 4 Dec 2022 02:12:32 +0100 Subject: [PATCH] configuration GitHub code scan --- .github/codeql/code-ql.config.yml | 7 +++++++ .github/workflows/codeql.yml | 7 +------ 2 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 .github/codeql/code-ql.config.yml diff --git a/.github/codeql/code-ql.config.yml b/.github/codeql/code-ql.config.yml new file mode 100644 index 0000000..5dff368 --- /dev/null +++ b/.github/codeql/code-ql.config.yml @@ -0,0 +1,7 @@ +name: "My CodeQL config" + +paths: + - lib +paths-ignore: + - node_modules + - '**/*.test.js' diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f08e335..ba6f253 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -11,12 +11,6 @@ # name: "CodeQL" -paths: - - lib -paths-ignore: - - node_modules - - test - on: push: branches: [ "master" ] @@ -51,6 +45,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.