Skip to content

Forked repo: ability to update branch on PR level by maintainers #17728

Closed
@StanislavKharchenko

Description

@StanislavKharchenko

Feature Description

If branch was outdated then author of PR could click "Update branch" so it will be syncronized with upstream.
This option will be also very useful for reviewers/approvers.
When reviewer approving PR, the branch could become outdated. The approver should ask author to click to "Update branch".
Found merged PR, but I'm not sure that it about what we need:
#16125

So, steps are following:

  1. Branch has restriction to merge in case if it outdated;
  2. User#1 created a PR and assigned to reviewer;
  3. Reviewer (maintainer of upstream repo) make approval; at this time base branch (upstream) got changes so PR became outdated;
  4. Reviewer can't merge and should ask author to perform "Update branch". In this step we need to grant access to reviewers to make update PR branch by himself.

This should be similar to "Allow edits from maintainers" option on GitHub

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/proposalThe new feature has not been accepted yet but needs to be discussed first.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions