Skip to content

Commit

Permalink
fix(changelog): Add automated PR creation (#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykie authored Sep 12, 2024
1 parent f271261 commit 11c2f91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ jobs:
run: |
git config user.name "Cloud Game Development Toolkit Bot"
git config user.email 176329154+cloud-game-development-toolkit-bot@users.noreply.github.com
git rev-parse --short HEAD
git checkout -b changelog-update-${{ github.run_id }}
git add .
git commit -m "Update Changelog"
git push origin changelog-update-${{ github.run_id }}
gh version
gh pr create --title chore: update changelog" --body "This is an auto-generated PR to update the changelog." --base main --head changelog-update-${{ github.run_id }} --repo ${{ github.repository }} --confirm
gh pr create --title "chore: update changelog" --body "This is an auto-generated PR to update the changelog." --base main --head changelog-update-${{ github.run_id }} --dry-run

0 comments on commit 11c2f91

Please sign in to comment.