From 949c45b4339128a3a49ace789de10da27572d743 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 22 Jan 2026 15:27:39 -0500 Subject: [PATCH 1/4] chore: update workflow github token --- .github/workflows/generate_new_client_hermetic_build.yaml | 2 +- .github/workflows/hermetic_library_generation.yaml | 2 +- .github/workflows/update_generation_config.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/generate_new_client_hermetic_build.yaml b/.github/workflows/generate_new_client_hermetic_build.yaml index 83322a256266..e11f234537fc 100644 --- a/.github/workflows/generate_new_client_hermetic_build.yaml +++ b/.github/workflows/generate_new_client_hermetic_build.yaml @@ -1,4 +1,4 @@ -name: Generate new GAPIC client library (Hermetic Build) +CLOUD_JAVA_BOT_GITHUB_TOKENname: Generate new GAPIC client library (Hermetic Build) on: workflow_dispatch: # some inputs are omitted due to limit of 10 input arguments diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 1716ff0b495d..961c46dfaaee 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Google LLC +CLOUD_JAVA_BOT_GITHUB_TOKEN# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.github/workflows/update_generation_config.yaml b/.github/workflows/update_generation_config.yaml index 7b14069ced81..19ce4dc96f23 100644 --- a/.github/workflows/update_generation_config.yaml +++ b/.github/workflows/update_generation_config.yaml @@ -1,4 +1,4 @@ -# Copyright 2024 Google LLC +CLOUD_JAVA_BOT_GITHUB_TOKEN# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. From 85c1feee1de0758dbef1b060626b70434c4fbdf1 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 22 Jan 2026 19:58:19 -0500 Subject: [PATCH 2/4] Update GitHub token reference in workflow file --- .github/workflows/generate_new_client_hermetic_build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generate_new_client_hermetic_build.yaml b/.github/workflows/generate_new_client_hermetic_build.yaml index e11f234537fc..e59fba01bd7b 100644 --- a/.github/workflows/generate_new_client_hermetic_build.yaml +++ b/.github/workflows/generate_new_client_hermetic_build.yaml @@ -1,4 +1,4 @@ -CLOUD_JAVA_BOT_GITHUB_TOKENname: Generate new GAPIC client library (Hermetic Build) +name: Generate new GAPIC client library (Hermetic Build) on: workflow_dispatch: # some inputs are omitted due to limit of 10 input arguments @@ -114,4 +114,4 @@ jobs: API_SHORTNAME: ${{ github.event.inputs.api_shortname }} GENERATION_ARGUMENTS: ${{ steps.config_generation.outputs.new_library_args }} DOCKER_VOLUMES: ${{ steps.generation.outputs.repo_volumes }} - GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} From 1091651d78ecc1d711f3a00848943b95b2215aa6 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 22 Jan 2026 19:59:02 -0500 Subject: [PATCH 3/4] Update GitHub token variable in workflow file --- .github/workflows/hermetic_library_generation.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/hermetic_library_generation.yaml b/.github/workflows/hermetic_library_generation.yaml index 961c46dfaaee..58f0df638e71 100644 --- a/.github/workflows/hermetic_library_generation.yaml +++ b/.github/workflows/hermetic_library_generation.yaml @@ -1,4 +1,4 @@ -CLOUD_JAVA_BOT_GITHUB_TOKEN# Copyright 2024 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -36,10 +36,10 @@ jobs: if: env.SHOULD_RUN == 'true' with: fetch-depth: 0 - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - uses: googleapis/sdk-platform-java/.github/scripts@v2.65.1 if: env.SHOULD_RUN == 'true' with: base_ref: ${{ github.base_ref }} head_ref: ${{ github.head_ref }} - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} From 8e7c2b9c5ed3af3be5c76adf1c59be2864abcf13 Mon Sep 17 00:00:00 2001 From: Diego Marquez Date: Thu, 22 Jan 2026 19:59:32 -0500 Subject: [PATCH 4/4] Update GitHub token in workflow configuration --- .github/workflows/update_generation_config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_generation_config.yaml b/.github/workflows/update_generation_config.yaml index 19ce4dc96f23..88db664baf63 100644 --- a/.github/workflows/update_generation_config.yaml +++ b/.github/workflows/update_generation_config.yaml @@ -1,4 +1,4 @@ -CLOUD_JAVA_BOT_GITHUB_TOKEN# Copyright 2024 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -28,7 +28,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} + token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} - name: Install Dependencies shell: bash run: sudo apt-get update && sudo apt-get install -y libxml2-utils @@ -42,4 +42,4 @@ jobs: --base_branch "${base_branch}" \ --repo ${{ github.repository }} env: - GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }} \ No newline at end of file + GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}