switch to current branch or stay detach (except code sync)#7
Conversation
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request refines the branch switching logic in the GitHub Action setup by focusing on the $MT_BRANCH_NAME variable and providing a fallback message for detached states. The review feedback recommends removing the commented-out code blocks to maintain cleanliness and double-quoting the branch name variable to prevent potential shell expansion issues.
There was a problem hiding this comment.
Code Review
This pull request simplifies the branch switching logic for submodules and the repository by targeting a specific branch or remaining detached, rather than using multiple fallbacks. Feedback suggests updating step names for accuracy, removing dead code, and quoting shell variables to ensure robustness against special characters.
No description provided.