Hi, I’m having an issue with the “Git Branch Naming” feature in Projects.
Setup:
-
Git Branch Naming: Custom
-
Custom Template:
feat/{name}
Problem: When I create a new branch and then rename it using “Rename branch” option, the new name is visible on the project tile in the UI. However, when I push changes to GitHub, the branch is created with the original auto-generated name, not the renamed one.
Example:
-
I create a new branch → Builder generates name like “branch-abc123”
-
I rename it to “user-authentication” via “Rename branch”
-
The tile shows “user-authentication” ✓
-
I push to GitHub → branch is created as
feat/branch-abc123✗ -
Expected:
feat/user-authentication
Questions:
-
Is this the expected behavior for the
{name}variable? -
What variables are available for the Custom Template? (Is there documentation for this?)
-
Is there a way to set a custom branch name that will actually be used when pushing to GitHub?
-
Is there a workaround to achieve custom branch naming that follows our team’s conventions (e.g.,
feat/feature-description)?
Thank you for your help!