When looking at active repos with lots of PRs, doing the rebase on all PRs would trigger a huge amount of CI jobs in parallel, so we need ability to reduce this, so I propose the following arguments to be added:
max_rebases, default 0 (unlimited), acting per repository
only_approved, default false for backwards compatibility, will only consider pull requests that were approved by a code owner (reviews that count)
skip_required_changes: false - to ignore PRs that have required changes. This is needed because it is possible for PRs to have approvals and also have required changes from others.
When looking at active repos with lots of PRs, doing the rebase on all PRs would trigger a huge amount of CI jobs in parallel, so we need ability to reduce this, so I propose the following arguments to be added:
max_rebases, default 0 (unlimited), acting per repositoryonly_approved, defaultfalsefor backwards compatibility, will only consider pull requests that were approved by a code owner (reviews that count)skip_required_changes:false- to ignore PRs that have required changes. This is needed because it is possible for PRs to have approvals and also have required changes from others.