From f617adc144c47c08b679f921d1cb0b197739bcd5 Mon Sep 17 00:00:00 2001 From: Henry <141167678+henrykie@users.noreply.github.com> Date: Thu, 12 Sep 2024 10:22:54 -0700 Subject: [PATCH] fix(changelog): Add automated PR creation (#252) --- .github/workflows/changelog.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 0215b3b3..02845539 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -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