Skip to content

Commit 99b89ee

Browse files
authored
Disable collectReachabilityMetadata tasks for codeql analysis (#14538)
1 parent d8e52de commit 99b89ee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ jobs:
7575
# --no-build-cache is required for codeql to analyze all modules
7676
# --no-daemon is required for codeql to observe the compilation
7777
# (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)
78-
run: ./gradlew assemble -x javadoc --no-build-cache --no-daemon
78+
# collectReachabilityMetadata tasks are disabled because they often cause the build to fail
79+
run: >
80+
./gradlew assemble -x javadoc
81+
-x :smoke-tests-otel-starter:spring-boot-3:collectReachabilityMetadata
82+
-x :smoke-tests-otel-starter:spring-boot-3.2:collectReachabilityMetadata
83+
-x :smoke-tests-otel-starter:spring-boot-reactive-3:collectReachabilityMetadata
84+
--no-build-cache --no-daemon
7985
8086
- name: Perform CodeQL analysis
8187
uses: github/codeql-action/analyze@3c3833e0f8c1c83d449a7478aa59c036a9165498 # v3.29.11

0 commit comments

Comments
 (0)