Skip to content

Commit 84d290f

Browse files
chore: update workflow github token (googleapis#4067)
1 parent a14bcb5 commit 84d290f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/hermetic_library_generation.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
if: env.SHOULD_RUN == 'true'
3737
with:
3838
fetch-depth: 0
39-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
39+
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
4040
- name: Install Maven modules
4141
if: env.SHOULD_RUN == 'true'
4242
shell: bash
@@ -61,5 +61,5 @@ jobs:
6161
base_ref: ${{ github.base_ref }}
6262
head_ref: ${{ github.head_ref }}
6363
image_tag: ${{ env.GENERATOR_VERSION }}
64-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
64+
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
6565
showcase_mode: true

.github/workflows/nightly.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Create issue if previous step fails
6363
if: ${{ failure() }}
6464
env:
65-
GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
65+
GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
6666
run: |
6767
gh issue create \
6868
--title "Nightly-java8 build on ${{ matrix.os }} failed." \

.github/workflows/update_googleapis_commit.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
32+
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
3333
- name: Update googleapis commit to latest
3434
shell: bash
3535
run: |
@@ -40,4 +40,4 @@ jobs:
4040
--base_branch "${base_branch}"\
4141
--repo ${{ github.repository }}
4242
env:
43-
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
43+
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}

hermetic_build/library_generation/owlbot/templates/java_library/.github/workflows/update_generation_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32-
token: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
32+
token: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
3333
- name: Install Dependencies
3434
shell: bash
3535
run: sudo apt-get update && sudo apt-get install -y libxml2-utils
@@ -43,5 +43,5 @@ jobs:
4343
--base_branch "${base_branch}" \
4444
--repo ${{ github.repository }}
4545
env:
46-
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_TOKEN }}
46+
GH_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}
4747
{% endraw %}

0 commit comments

Comments
 (0)