From 93d17e0a5dd033763abf0c8ac170c0f76c6274b7 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 20 Apr 2026 20:14:22 +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 47b9e87c98bb..ececc795480e 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 e20842730587e6d5338b1d21a9230f8b5c754f20 Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 20 Apr 2026 20:19:38 +0000 Subject: [PATCH 2/4] chore: generate libraries at Mon Apr 20 20:17:05 UTC 2026 --- .github/scripts/update_generation_config.sh | 17 +++++++++++------ .github/workflows/renovate_config_check.yaml | 7 ++++--- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/scripts/update_generation_config.sh b/.github/scripts/update_generation_config.sh index 24d97abee3ff..dd857f8d6918 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 +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" \ - "${latest_version}" \ + "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 ececc795480e..47b9e87c98bb 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 c040700bc6b6c23a58a463861400b24792598f2c Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 20 Apr 2026 20:48:25 +0000 Subject: [PATCH 3/4] fix: Update renovate config check to use valid version 43.136.0 after automation overwrite --- .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 47b9e87c98bb..8c922936b989 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@43.136.0 renovate-config-validator From 13d92fea89832c40f25dc741c4bdf4a6af2c14fc Mon Sep 17 00:00:00 2001 From: cloud-java-bot Date: Mon, 20 Apr 2026 20:51:37 +0000 Subject: [PATCH 4/4] chore: generate libraries at Mon Apr 20 20:49:03 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 8c922936b989..47b9e87c98bb 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