Skip to content

Bots to manage PR state in labels #7306

Open
@pradyunsg

Description

@pradyunsg

If PRs automatically get a label describing what state they're in, IMO it'll make it easier to handle PR reviews. To copy from CPython, I think we'd benefit from these labels:

  • S: awaiting response (exists)
  • S: awaiting review
  • S: awaiting merge

I think the approximate flow would be:

  • new PR: apply S: awaiting review once CI passes (or on open?)
  • has "changes requested" (red review): switch to S: awaiting response
  • new commit, or comment in "awaiting response" state: switch to S: awaiting review
  • approved and has no "changes requested": switch to S: awaiting merge

We'd still be able to manually apply these labels and if the above is the behavior of the bots, I don't think they'd fight us. Do others think this would be a good idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions