← All requests
2

Let users choose the branch pattern for Git integrations (allow a type prefix like feat/)

OpenIntegrationsMAXOUXAX ·

We use semantic branch names: feat/sit-19-add-raffle-page, fix/sit-20-..., chore/... Kaneo only links a branch to a task when the name starts with the task key ({slug}-{number}), so with a type prefix the "branch pushed" automation never fires. Linking still works through the merge request title (it contains SIT-19), so only the push step is lost. Discussion #1297 asks for the same thing with user/ROA-42-… branches.

The integration config already has branchPattern and customBranchRegex, and there are presets like feature/{slug}-{number}, but neither the API (the PATCH routes only accept isActive and the comment toggle) nor the settings UI lets us change them. The GitHub and Gitea docs say the pattern "can be customized in project settings", which isn't the case today.

Suggestion: a branch pattern picker in each Git integration's settings, plus an option for "any type prefix", e.g. {type}/{slug}-{number} matching feat/sit-19-..., fix/sit-19-... and sit-19-... alike. Presets only, no free regex.

Side note: reconnecting a Gitea integration resets the branch pattern to the default (create-gitea-integration only keeps syncRules).

Discussion 0

No comments yet.

Sign in to comment.

Keyboard shortcuts

Anywhere

Go to requests
gh
Go to changelog
gc
Go to notifications
gn
Next or previous page
norp
Leave a text field or close a menu
Esc
Show this list
?

Requests

Move to the next or previous request
jork
Open the selected request
oorEnter
Vote on the selected request
v
Search
/
New request
c

Request

Vote
v
Write a comment
c
Edit
e