diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2941f801635d..718fb07f9480 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -75,7 +75,13 @@ jobs: # --no-build-cache is required for codeql to analyze all modules # --no-daemon is required for codeql to observe the compilation # (see https://docs.github.com/en/code-security/codeql-cli/getting-started-with-the-codeql-cli/preparing-your-code-for-codeql-analysis#specifying-build-commands) - run: ./gradlew assemble -x javadoc --no-build-cache --no-daemon + # collectReachabilityMetadata tasks are disabled because they often cause the build to fail + run: > + ./gradlew assemble -x javadoc + -x :smoke-tests-otel-starter:spring-boot-3:collectReachabilityMetadata + -x :smoke-tests-otel-starter:spring-boot-3.2:collectReachabilityMetadata + -x :smoke-tests-otel-starter:spring-boot-reactive-3:collectReachabilityMetadata + --no-build-cache --no-daemon - name: Perform CodeQL analysis uses: github/codeql-action/analyze@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11