diff --git a/.github/workflows/code-scanning.yml b/.github/workflows/code-scanning.yml index 5b5cb81b69..38b1a9764f 100644 --- a/.github/workflows/code-scanning.yml +++ b/.github/workflows/code-scanning.yml @@ -71,7 +71,7 @@ jobs: if: matrix.language == 'java' run: ./gradlew clean assemble compileTestJava --parallel --daemon env: - DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: '.*[Tt]est(Compile|Runtime)Classpath' + DEPENDENCY_GRAPH_EXCLUDE_CONFIGURATIONS: '.*(testCompile|testRuntime|compile)Classpath' GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} - name: Perform CodeQL analysis