From f25bbb3e3c00a331df2decf531a9bccab148ec88 Mon Sep 17 00:00:00 2001 From: Jin Seop Kim Date: Fri, 23 Oct 2026 10:54:08 -0400 Subject: [PATCH] chore: use CLOUD_JAVA_BOT_GITHUB_TOKEN in changelog_generation workflow --- .github/workflows/changelog_generation.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changelog_generation.yaml b/.github/workflows/changelog_generation.yaml index 5e8b1828f041..52906ee5bb9c 100644 --- a/.github/workflows/changelog_generation.yaml +++ b/.github/workflows/changelog_generation.yaml @@ -35,7 +35,7 @@ jobs: git status - name: Fetching pull request body env: - GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }} run: | echo "Running the changelog generation script. Fetching PR body..." gh pr view --json body --jq '.body' > pr_body.txt @@ -46,9 +46,9 @@ jobs: python3 .github/release-note-generation/split_release_note.py pr_body.txt . - name: Commit the change and push to the pull request branch run: | - git config user.email "yoshi-code-bot@users.noreply.github.com" - git config user.name "yoshi-code-bot" - git remote set-url origin https://x-access-token:${{ secrets.YOSHI_CODE_BOT_TOKEN }}@github.com/${{ github.repository }} + git config user.email "cloud-java-bot@google.com" + git config user.name "Cloud Java Bot" + git remote set-url origin https://x-access-token:${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}@github.com/${{ github.repository }} git add ./*/CHANGELOG.md git commit -m 'chore: update CHANGELOG.md in modules' git push