From 76ae1925be2d26f29bf9a3ac084970b73bc49f84 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 20 Apr 2026 20:02:43 +0000 Subject: [PATCH 1/4] fix: Update renovate config check to use npx --- .github/workflows/renovate_config_check.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index 47b9e87c98..ececc79548 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -4,6 +4,7 @@ on: pull_request: paths: - 'renovate.json' + - '.github/workflows/renovate_config_check.yaml' jobs: renovate_bot_config_validation: @@ -18,8 +19,6 @@ jobs: with: node-version: '22' - - name: Install Renovate and Config Validator + - name: Run Renovate Config Validator run: | - npm install -g npm@latest - npm install --global renovate - renovate-config-validator + npx --package renovate@42.99.0 renovate-config-validator From 12629f4f2388f69cafcfb1fce8f2d5671947ede6 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 20 Apr 2026 20:09:11 +0000 Subject: [PATCH 2/4] chore: generate libraries at Mon Apr 20 20:07:03 UTC 2026 --- .github/scripts/update_generation_config.sh | 19 ++++++++++++------- .github/workflows/renovate_config_check.yaml | 7 ++++--- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 74d0e6cc41..dd857f8d69 100644 --- a/.github/scripts/update_generation_config.sh +++ b/.github/scripts/update_generation_config.sh @@ -48,13 +48,14 @@ function update_config() { } # Update an action to a new version in GitHub action. +# the second argument must have the git tag (including "v"). function update_action() { local key_word=$1 local new_value=$2 local file=$3 echo "Update ${key_word} to ${new_value} in ${file}" # use a different delimiter because the key_word contains "/". - sed -i -e "s|${key_word}@v.*$|${key_word}@v${new_value}|" "${file}" + sed -i -e "s|${key_word}@[^ ]*$|${key_word}@${new_value}|" "${file}" } # The parameters of this script is: @@ -143,12 +144,16 @@ rm -rf tmp-googleapis update_config "googleapis_commitish" "${latest_commit}" "${generation_config}" # Update gapic-generator-java version to the latest -latest_version=$(get_latest_released_version "com.google.api" "gapic-generator-java") -update_config "gapic_generator_version" "${latest_version}" "${generation_config}" - -# Update composite action version to latest gapic-generator-java version -update_action "googleapis/sdk-platform-java/.github/scripts" \ - "${latest_version}" \ +latest_gapic_generator_version=$(get_latest_released_version "com.google.api" "gapic-generator-java") +update_config "gapic_generator_version" "${latest_gapic_generator_version}" "${generation_config}" + +# Update the GitHub Actions reference to the latest. +# After the google-cloud-java monorepo migration of sdk-platform-java, +# we cannot rely on the gapic-generator-java version tag. Let's use +# the shared dependencies BOM version +latest_shared_dependencies_bom_version=$(get_latest_released_version "com.google.cloud" "google-cloud-shared-dependencies") +update_action "googleapis/google-cloud-java/sdk-platform-java/.github/scripts" \ + "google-cloud-shared-dependencies/v${latest_shared_dependencies_bom_version}" \ "${workflow}" # Update libraries-bom version to the latest diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index ececc79548..47b9e87c98 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -4,7 +4,6 @@ on: pull_request: paths: - 'renovate.json' - - '.github/workflows/renovate_config_check.yaml' jobs: renovate_bot_config_validation: @@ -19,6 +18,8 @@ jobs: with: node-version: '22' - - name: Run Renovate Config Validator + - name: Install Renovate and Config Validator run: | - npx --package renovate@42.99.0 renovate-config-validator + npm install -g npm@latest + npm install --global renovate + renovate-config-validator From 91719d4ae2c463a6b60640f92a83c7b4c4bddd10 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 20 Apr 2026 20:44:27 +0000 Subject: [PATCH 3/4] chore: Pin renovate to 43.136.0 --- .github/workflows/renovate_config_check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index ececc79548..8c922936b9 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -21,4 +21,4 @@ jobs: - name: Run Renovate Config Validator run: | - npx --package renovate@42.99.0 renovate-config-validator + npx --package renovate@43.136.0 renovate-config-validator From 79ae8da60fb99690e551fae3c9477627ac72896b Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 20 Apr 2026 20:48:00 +0000 Subject: [PATCH 4/4] chore: generate libraries at Mon Apr 20 20:45:51 UTC 2026 --- .github/workflows/renovate_config_check.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/renovate_config_check.yaml b/.github/workflows/renovate_config_check.yaml index 8c922936b9..47b9e87c98 100644 --- a/.github/workflows/renovate_config_check.yaml +++ b/.github/workflows/renovate_config_check.yaml @@ -4,7 +4,6 @@ on: pull_request: paths: - 'renovate.json' - - '.github/workflows/renovate_config_check.yaml' jobs: renovate_bot_config_validation: @@ -19,6 +18,8 @@ jobs: with: node-version: '22' - - name: Run Renovate Config Validator + - name: Install Renovate and Config Validator run: | - npx --package renovate@43.136.0 renovate-config-validator + npm install -g npm@latest + npm install --global renovate + renovate-config-validator