diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d4bcb94f..9905887a 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -45,8 +45,10 @@ jobs: include: - language: actions build-mode: none + queries: security-extended,security-and-quality - language: java-kotlin build-mode: autobuild # CodeQL will automatically build the Maven project + queries: security-extended,security-and-quality # CodeQL supports the following values keywords for 'language': 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'rust', 'swift' # Use `c-cpp` to analyze code written in C, C++ or both # Use 'java-kotlin' to analyze code written in Java, Kotlin or both @@ -74,12 +76,10 @@ jobs: with: languages: ${{ matrix.language }} build-mode: ${{ matrix.build-mode }} - # 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. - + # Run the extended security and code-quality query packs (see matrix above) + # in addition to the default suite, for higher-recall security analysis. # 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 + queries: ${{ matrix.queries }} # If the analyze step fails for one of the languages you are analyzing with # "We were unable to automatically build your code", modify the matrix above