Skip to content

Commit

Permalink
chore: update workflow to generate PRs with correct commit prefix and…
Browse files Browse the repository at this point in the history
… use Cloud Java bot (#6117)

* chore: update workflow to generate PRs with correct commit prefix

* update workflow to use cloud java bot
  • Loading branch information
alicejli authored Jul 25, 2023
1 parent d73ba24 commit f8f2a87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update-readme-table.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
- name: Commit and push changes
run: |
git config --global user.name "GitHub Actions Bot"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "Cloud Java Bot"
git config --global user.email "cloud-java-bot@google.com"
git add README.md
git commit -m "Update README with release table"
git commit -m "chore: update README with release table"
git checkout -b update-readme
git push origin update-readme
- name: Create Pull Request
run: |
gh pr create --base main --head update-readme --title "Update README with release table" --body "Updating README with the table of artifacts associated with the latest libraries-bom release"
gh pr create --base main --head update-readme --title "chore: Update README with release table" --body "Updating README with the table of artifacts associated with the latest libraries-bom release"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CLOUD_JAVA_BOT_GITHUB_TOKEN }}

0 comments on commit f8f2a87

Please sign in to comment.