Skip to content

Tooling: webhooks to add labels to PRs #855

@ide

Description

@ide

From brief chat w @vjeux we want to improve the code review workflow using labels. The labels will show the state of each PR and help contributors and reviewers be on the same page wrt the next step for each PR. I imagine the flow to mostly look like:

  1. Contributor submits PR. Label: [needs-review]
  2. Reviewer imports PR into Differential
  3. Reviewer has some questions but no requests for changes yet, submits comments
  4. Contributor responds to questions
  5. Reviewer posts new comments asking for changes (can Differential ping a webhook when this happens?) Label: [needs-revision]
  6. Contributor updates PR by updating their branch. Label: [needs-review]
  7. Reviewer accepts the diff and lands it through Differential
  8. Bot automatically creates a corresponding Git commit and pushes it to GitHub. Bot removes the label from the PR and closes it.

(@vjeux are there parts that are different that from what you have in mind?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions