From 4825a3e4cfbbdfba8138ba520f5c93bf5afb5ef9 Mon Sep 17 00:00:00 2001 From: Art Shendrik Date: Tue, 26 Nov 2024 21:39:06 +0000 Subject: [PATCH] ci(workflows): disable GitHub dependency graph in non-build steps - Set `GITHUB_DEPENDENCY_GRAPH_ENABLED` to false in publication and analysis steps Signed-off-by: Art Shendrik --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1484dd5..801faed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -176,6 +176,7 @@ jobs: ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }} ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }} ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }} + GITHUB_DEPENDENCY_GRAPH_ENABLED: false RELEASE: true run: ./gradlew publish -DDISABLE_TESTS --no-configuration-cache --stacktrace --scan @@ -195,6 +196,8 @@ jobs: if: matrix.os == 'ubuntu' && matrix.java == '17' timeout-minutes: 6 uses: github/codeql-action/analyze@v3 + env: + GITHUB_DEPENDENCY_GRAPH_ENABLED: false with: category: "/language:${{matrix.language}}"