mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10366 from tiborvass/new-pr-workflow
New pull request review workflow
This commit is contained in:
commit
d21ecf94fe
1 changed files with 85 additions and 0 deletions
85
MAINTAINERS
85
MAINTAINERS
|
@ -124,8 +124,93 @@ the relevant operators.
|
||||||
|
|
||||||
* If the change affects the governance, philosophy, goals or principles of the project,
|
* If the change affects the governance, philosophy, goals or principles of the project,
|
||||||
it must be approved by BDFL.
|
it must be approved by BDFL.
|
||||||
|
|
||||||
|
* A pull request can be in 1 of 5 distinct states, for each of which there is a corresponding label
|
||||||
|
that needs to be applied. `Rules.review.states` contains the list of states with possible targets
|
||||||
|
for each.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Triage
|
||||||
|
[Rules.review.states.0-triage]
|
||||||
|
|
||||||
|
# Maintainers are expected to triage new incoming pull requests by removing
|
||||||
|
# the `0-triage` label and adding the correct labels (e.g. `1-design-review`)
|
||||||
|
# potentially skipping some steps depending on the kind of pull request.
|
||||||
|
# Use common sense for judging.
|
||||||
|
#
|
||||||
|
# Checking for DCO should be done at this stage.
|
||||||
|
#
|
||||||
|
# If an owner, responsible for closing or merging, can be assigned to the PR,
|
||||||
|
# the better.
|
||||||
|
|
||||||
|
close = "e.g. unresponsive contributor without DCO"
|
||||||
|
3-docs-review = "non-proposal documentation-only change"
|
||||||
|
2-code-review = "e.g. trivial bugfix"
|
||||||
|
1-design-review = "general case"
|
||||||
|
|
||||||
|
# Design review
|
||||||
|
[Rules.review.states.1-design-review]
|
||||||
|
|
||||||
|
# Maintainers are expected to comment on the design of the pull request.
|
||||||
|
# Review of documentation is expected only in the context of design validation,
|
||||||
|
# not for stylistic changes.
|
||||||
|
#
|
||||||
|
# Ideally, documentation should reflect the expected behavior of the code.
|
||||||
|
# No code review should take place in this step.
|
||||||
|
#
|
||||||
|
# Once design is approved, a maintainer should make sure to remove this label
|
||||||
|
# and add the next one.
|
||||||
|
|
||||||
|
close = "design rejected"
|
||||||
|
3-docs-review = "proposals with only documentation changes"
|
||||||
|
2-code-review = "general case"
|
||||||
|
|
||||||
|
# Code review
|
||||||
|
[Rules.review.states.2-code-review]
|
||||||
|
|
||||||
|
# Maintainers are expected to review the code and ensure that it is good
|
||||||
|
# quality and in accordance with the documentation in the PR.
|
||||||
|
#
|
||||||
|
# If documentation is absent but expected, maintainers should ask for documentation.
|
||||||
|
#
|
||||||
|
# All tests should pass.
|
||||||
|
#
|
||||||
|
# Once code is approved according to the rules of the subsystem, a maintainer
|
||||||
|
# should make sure to remove this label and add the next one.
|
||||||
|
|
||||||
|
close = ""
|
||||||
|
1-design-review = "raises design concerns"
|
||||||
|
4-merge = "trivial change not impacting documentation"
|
||||||
|
3-docs-review = "general case"
|
||||||
|
|
||||||
|
# Docs review
|
||||||
|
[Rules.review.states.3-docs-review]
|
||||||
|
|
||||||
|
# Maintainers are expected to review the documentation in its bigger context,
|
||||||
|
# ensuring consistency, completeness, validity, and breadth of coverage across
|
||||||
|
# all extent and new documentation.
|
||||||
|
#
|
||||||
|
# They should ask for any editorial change that makes the documentation more
|
||||||
|
# consistent and easier to understand.
|
||||||
|
#
|
||||||
|
# Once documentation is approved, a maintainer should make sure to remove this
|
||||||
|
# label and add the next one.
|
||||||
|
|
||||||
|
close = ""
|
||||||
|
2-code-review = "requires more code changes"
|
||||||
|
1-design-review = "raises design concerns"
|
||||||
|
4-merge = "general case"
|
||||||
|
|
||||||
|
# Merge
|
||||||
|
[Rules.review.states.4-merge]
|
||||||
|
|
||||||
|
# Maintainers are expected to merge this pull request as soon as possible.
|
||||||
|
# They can ask for a rebase, or carry the pull request themselves.
|
||||||
|
# These should be the easy PRs to merge.
|
||||||
|
|
||||||
|
close = "carry PR"
|
||||||
|
merge = ""
|
||||||
|
|
||||||
[Rules.DCO]
|
[Rules.DCO]
|
||||||
|
|
||||||
title = "Helping contributors with the DCO"
|
title = "Helping contributors with the DCO"
|
||||||
|
|
Loading…
Reference in a new issue