15

Allow commits from users who can commit to the target branch by default

 3 years ago
source link: https://gitlab.com/gitlab-org/gitlab/-/issues/23308
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Allow commits from users who can commit to the target branch by default

Allow commits from users who can commit to the target branch by default

Problem to solve

When forking a project and submitting a contribution upstream, it is very useful to have source project maintainers be able to make changes to the merge request from the fork in order to speed up the contribution process.

However, in order to allow this, the Allow commits from members who can merge to the target branch checkbox has to be checked when the MR is created. Often times, contributors will forget to check this box, which slows down the contribution process.

Further details

Some workflows call for maintainers of the source project to rebase for someone or fix a typo before merging without losing any time having a feedback loop. The problem is that people usually forget to tick the "Allow commits from members who can merge to the target branch." checkbox.

Proposal

Add a "Allow contributions from members who can merge to the target branch." checkbox in Settings/Merge Request.

Change the default setting for Allow commits from members who can merge to the target branch to enabled. Users who don't want to allow this can simply untick the setting when submitting the MR

image
Edited 3 months ago by Daniel Gruesso

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK