Skip to content

Commit

Permalink
fix(changelog): Add automated PR creation (aws-games#252)
Browse files Browse the repository at this point in the history
  • Loading branch information
henrykie authored Sep 12, 2024
1 parent 1ce9eda commit f617adc
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 f617adc

Please sign in to comment.