You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f052ce5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: src/maintainers/reviewing-prs.md
+23-2Lines changed: 23 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ You should instantly close a pull request when:
22
22
8. The PR is a duplicate of another PR (i.e., the user made multiple PRs in the hopes of getting their domain faster).
23
23
9. Any one the "Requirements" checkboxes have not been fulfilled.
24
24
25
+
[^1]: Nested subdomains are a subdomain of a subdomain, such as `nested.example.is-a.dev`. `example.is-a.dev` is not a nested subdomain, it is a subdomain!
26
+
25
27
## Steps to Reviewing a PR
26
28
First, approve checks if needed. Do this by clicking the button at the bottom of the PR labelled "Approve workflows to run".
27
29
@@ -33,7 +35,7 @@ You cannot merge a PR if the checks do not pass. If the checks fail, examine the
33
35
34
36

35
37
36
-
*Request changes* based on the issues at hand. Do not be rude in your review and act professionally.
38
+
*Request changes* based on the issues at hand. Do not be rude in your review and act professionally. We recommend using reviewbot to streamline the process of requesting changes!
37
39
38
40
If there are no issues with the PR at this point, you are free to merge it.
39
41
If you requested changes, please *apply labels to the PR*. For example, if the PR violates our ToS because it is a commercial website:
@@ -47,8 +49,27 @@ If you requested changes, please *apply labels to the PR*. For example, if the P
47
49
48
50
You can use quickly select and use saved replies in the reply/reviewing text box by pressing Ctrl/Command + Period (.) together.
49
51
52
+
We recommend using reviewbot instead of saved replies, however! See the next section.
53
+
50
54
2. Mass approve checks first, review afterwards. This allows you to skip the hassle of waiting for checks to finish running.
51
55
52
56
3. When unsure of whether or not to approve or request changes on a PR, do not hesitate to ask another, more experienced maintainer on how to deal with it. You can also simply skip the PR and wait for someone else to review it.
53
57
54
-
[^1]: Nested subdomains are a subdomain of a subdomain, such as `nested.example.is-a.dev`. `example.is-a.dev` is not a nested subdomain, it is a subdomain!
58
+
## Reviewbot
59
+
A very helpful tool we have at our disposal is [reviewbot](https://github.com/iostpa/reviewbot). Reviewbot is a GitHub bot maintained by [iostpa](https://iostpa.com) which sends a comment in a pull request upon the application of labels with an explanation of each label in some detail. Reviewbot can also optionally close a pull request based on the `status: denied` label.
60
+
61
+
Example usage would be as follows: on a pull request that adds a website unrelated to software development, you should add the `status: denied` and `reason: not dev related` labels to the pull request, and simply move on. Reviewbot will close the pull request on your behalf and explain the reason why the pull request was denied in detail to the PR author.
62
+
63
+
!!!
64
+
Note: You may use `status: invalid` to simply request changes on a PR instead of closing it.
65
+
!!!
66
+
67
+
Please use `status: denied` or `status: invalid` in conjuction with other `reason: x` labels (or `status: needs preview`). If none of the labels fit the reason why you denied the pull request, use `reason: other` in conjuction with either status label and comment your reason directly in the pull request.
68
+
69
+
!!!
70
+
Reviewbot has a 3 second time window. This means that you can make last-minute changes before reviewbot starts sending the message.
71
+
!!!
72
+
73
+
Here is an example of using reviewbot with the `status: denied` and `reason: not dev related` labels:
0 commit comments