Branch protection: Require branches to be up to date before merging #4654

Closed
opened 2025-11-02 05:57:51 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @davidsvantesson on GitHub (Jan 15, 2020).

Add a branch protection option allowing strict status checks. PR shall not be possible to merge unless it is up to date (divergence behind target is zero).

Originally created by @davidsvantesson on GitHub (Jan 15, 2020). Add a branch protection option allowing _strict_ status checks. PR shall not be possible to merge unless it is up to date (divergence behind target is zero).
GiteaMirror added the issue/confirmedtype/enhancement labels 2025-11-02 05:57:51 -06:00
Author
Owner

@guillep2k commented on GitHub (Jan 15, 2020):

Sounds like this should be added to #8659 ... should I?

@guillep2k commented on GitHub (Jan 15, 2020): Sounds like this should be added to #8659 ... should I?
Author
Owner

@zeripath commented on GitHub (Jan 16, 2020):

Yeah add it

@zeripath commented on GitHub (Jan 16, 2020): Yeah add it
Author
Owner

@6543 commented on GitHub (Jan 17, 2020):

hint: use function pull_service.GetDiverging(pull) added via #9784

@6543 commented on GitHub (Jan 17, 2020): hint: use **function** `pull_service.GetDiverging(pull)` added via #9784
Author
Owner

@stale[bot] commented on GitHub (Mar 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Mar 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4654