Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/changelog_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Loading