From b08779dc26cc54f41321f9a61ababd2b367e7ece Mon Sep 17 00:00:00 2001 From: Joe Wang <106995533+JoeWang1127@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:21:28 +0000 Subject: [PATCH] chore: configure unmanaged dependency check version (#2100) * chore: configure unmanaged dependency check version * change tag in workflow * use old version of java shared dependencies --- .github/workflows/unmanaged_dependency_check.yaml | 11 ++--------- renovate.json | 8 ++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/unmanaged_dependency_check.yaml b/.github/workflows/unmanaged_dependency_check.yaml index f900e3a17e..d54e8385df 100644 --- a/.github/workflows/unmanaged_dependency_check.yaml +++ b/.github/workflows/unmanaged_dependency_check.yaml @@ -12,15 +12,8 @@ jobs: java-version: 11 - name: Install modules shell: bash - run: | - mvn -B -V -ntp -DskipTests=true \ - -Dclirr.skip=true \ - -Denforcer.skip=true \ - -Dmaven.javadoc.skip=true \ - -Dgcloud.download.skip=true \ - -T 1C \ - clean install + run: .kokoro/build.sh - name: Unmanaged dependency check - uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@unmanaged-dependencies-check-latest + uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v3.23.0 with: bom-path: google-cloud-bigtable-bom/pom.xml diff --git a/renovate.json b/renovate.json index 613b283d92..587b17be96 100644 --- a/renovate.json +++ b/renovate.json @@ -99,6 +99,14 @@ "matchStrings": ["value: \"gcr.io/cloud-devrel-public-resources/graalvm.*:(?.*?)\""], "depNameTemplate": "com.google.cloud:sdk-platform-java-config", "datasourceTemplate": "maven" + }, + { + "fileMatch": [ + "^.github/workflows/unmanaged_dependency_check.yaml$" + ], + "matchStrings": ["uses: googleapis/sdk-platform-java/java-shared-dependencies/unmanaged-dependency-check@google-cloud-shared-dependencies/v(?.*?)"], + "depNameTemplate": "com.google.cloud:sdk-platform-java-config", + "datasourceTemplate": "maven" } ], "semanticCommits": true,