Skip to content

Enforcing “Give time for other maintainers to review” #9224

@reitermarkus

Description

@reitermarkus

Given I already broke this rule as I didn't realize #8989 was already merged, I have some ideas on how to actually enforce this.

1. Required approvals

Require at least 1 approval for pull requests. In order not to make this block pull requests, after 24 hours, @BrewTestBot will automatically approve pull requests. Only pull requests by maintainers are auto-approved.

2. Giving other maintainers time to review

Add a workflow which only passes after a pull request has been open 24h. An approval will trigger a re-run of this workflow, i.e. this should pass after automatic approval by @BrewTestBot.

3. Allow critical fixes to be merged immediately

1. and 2. should somehow be able to bypassed for critical fixes, e.g. by applying a critical label.

4. Avoid wasting time waiting for CI

Approved pull requests are automatically merged once they pass CI. Only pull requests by maintainers are auto-merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionInput solicited from othersoutdatedPR was locked due to agestaleNo recent activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions