Skip to content

Add ability to action only on approved pull requests and to limit the number of rebases #164

Description

@ssbarnea

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.

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