chore(release): avoid checkout in create-release-branch#3878
Conversation
This change refactors the create-release-branch subcommand to push the commit SHA directly to the remote branch reference, avoiding checking out the branch locally and changing the working directory state. Tests are updated to match.
There was a problem hiding this comment.
Code Review
This pull request simplifies the release branch creation process in create_release_branch.py by pushing the target commit directly to the remote branch using a refspec (commit_sha:refs/heads/branch_name), rather than performing local checkouts and merges. The corresponding unit tests in release_test.py have been updated to assert this new behavior. There are no review comments, so I have no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
7ad0c94 to
2726e23
Compare
This change refactors the create-release-branch subcommand to push the commit SHA directly to the remote branch reference, avoiding checking out the branch locally and changing the working directory state. Tests are updated to match.