diff --git a/.github/workflows/codeql_with_config.yml b/.github/workflows/codeql_with_config.yml index c17f573..f50eaf7 100644 --- a/.github/workflows/codeql_with_config.yml +++ b/.github/workflows/codeql_with_config.yml @@ -76,7 +76,12 @@ jobs: # 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. - config-file: ./.github/codeql/codeql-config.yml + config: | + paths: + - src + paths-ignore: + - src/node_modules + - '**/*.test.js' # 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 # queries: security-extended,security-and-quality