Adding labels to branches in a project

With our project structure it would be advantageous to know whether a branch has been merged into another branch previously. I was thinking the simplest way would be to have labels, so when a branch is merged into staging it can have a staging label added, or if it merged into live it has a live label.

Is this possible or would we need to modify Gitlab code to get this? I would also like to programmatically set the labels on merge request hooks.

1 Like

This would be very useful, I assume given the length of time this has been open there are no plans to provide this.