configuration GitHub code scan
This commit is contained in:
parent
c84d9fb4d2
commit
0fcd5c2318
7
.github/codeql/code-ql.config.yml
vendored
Normal file
7
.github/codeql/code-ql.config.yml
vendored
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
name: "My CodeQL config"
|
||||||
|
|
||||||
|
paths:
|
||||||
|
- lib
|
||||||
|
paths-ignore:
|
||||||
|
- node_modules
|
||||||
|
- '**/*.test.js'
|
||||||
7
.github/workflows/codeql.yml
vendored
7
.github/workflows/codeql.yml
vendored
@ -11,12 +11,6 @@
|
|||||||
#
|
#
|
||||||
name: "CodeQL"
|
name: "CodeQL"
|
||||||
|
|
||||||
paths:
|
|
||||||
- lib
|
|
||||||
paths-ignore:
|
|
||||||
- node_modules
|
|
||||||
- test
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
@ -51,6 +45,7 @@ jobs:
|
|||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v2
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
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.
|
# 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.
|
# 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.
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user