configuration GitHub code scan

This commit is contained in:
Sebastian Hildebrandt 2022-12-04 02:12:32 +01:00
parent c84d9fb4d2
commit 0fcd5c2318
2 changed files with 8 additions and 6 deletions

7
.github/codeql/code-ql.config.yml vendored Normal file
View File

@ -0,0 +1,7 @@
name: "My CodeQL config"
paths:
- lib
paths-ignore:
- node_modules
- '**/*.test.js'

View File

@ -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.