Apache Lucene open-source search software
ci: further tune the codeql (#15254)
Robert Muirc461774b9c20
diff --git a/.github/codeql-config.yml b/.github/codeql-config.ymlnew file mode 100644index 00000000000..e803cf59ae7--- /dev/null+++ b/.github/codeql-config.yml@@ -0,0 +1,10 @@+---+query-filters:+ - exclude:+ # Very noisy check which can also be accomplished with an ordinary linter.+ # See: https://codeql.github.com/codeql-query-help/java/java-implicit-cast-in-compound-assignment/+ id: java/implicit-cast-in-compound-assignment+ - exclude:+ # Very noisy check which can also be accomplished with an ordinary linter.+ # See: https://codeql.github.com/codeql-query-help/java/java-comparison-with-wider-type/+ id: java/comparison-with-wider-typediff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex 5199863871a..d74868762ef 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -27,13 +27,10 @@ jobs:include:- language: actionsbuild-mode: none- queries: security-extended- language: pythonbuild-mode: none- queries: security-extended- language: javabuild-mode: none- queries: "" # security-extended is very noisy for the java languagesteps:- name: Checkout repositoryuses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0@@ -49,7 +46,8 @@ jobs:with:languages: ${{ matrix.language }}build-mode: ${{ matrix.build-mode }}- queries: ${{ matrix.queries }}+ queries: security-extended+ config-file: ./.github/codeql-config.yml- name: Perform CodeQL Analysisuses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3