Skip to content

Document branch and repo settings requirements #481

@palves

Description

@palves

On my company's github.com repos, when spr changes the target of a PR, e.g., because you've merged the bottom patch of the series, and the next PR is now the bottom one, github.com invalidates existing approvals.

I would be great if the spr documentation explained what are the ideal github branch protection rules and repo settings so that it works to its full extent.

I thought that the losing approvals when the base changes was hardcoded on github.com nowdays. See:

https://github.com/orgs/community/discussions/147779
https://github.com/orgs/community/discussions/57513
https://github.com/orgs/community/discussions/57944

... where we find plenty of people talking about this. The last one for instante is exactly about this github issue with stacked PRs.

It seems like people have been happily using git spr regardless, so I think I'm missing something. And I think it'd be great if that something were documented! :-)

Thanks a lot for git spr, btw. I've been experimenting with it on and off for a while, even have patches that I plan to submit eventually, but this issue is a major blocker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions