Skip to content

Commit 18b222b

Browse files
authored
Update codeql_with_config.yml
1 parent 2779d07 commit 18b222b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/codeql_with_config.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,13 @@ jobs:
7676
# If you wish to specify custom queries, you can do so here or in a config file.
7777
# By default, queries listed here will override any specified in a config file.
7878
# Prefix the list here with "+" to use these queries and those in the config file.
79-
config-file: ./.github/codeql/codeql-config.yml
80-
79+
config: |
80+
paths:
81+
- src
82+
paths-ignore:
83+
- src/node_modules
84+
- '**/*.test.js'
85+
8186
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
8287
# queries: security-extended,security-and-quality
8388

0 commit comments

Comments
 (0)