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
Copy file name to clipboardExpand all lines: src/maintainers/reviewing-prs.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,3 +3,52 @@ label: Reviewing PRs
3
3
---
4
4
5
5
# Reviewing Pull Requests
6
+
Hello! Welcome to the is-a.dev maintainer team. This document is intended to get you up to speed with the pull request reviewing process.
7
+
8
+
First and most importantly, please read the [documentation](https://docs.is-a.dev). All of it. Seriously. It's important. Additionally, take a cursory glance over our [Terms of Service](https://is-a.dev/terms).
9
+
10
+
Let's begin.
11
+
12
+
## When to Instantly Close a PR
13
+
You should instantly close a pull request when:
14
+
15
+
1. The website has no preview provided *and* isn't accessible. We expect previews for *all* webpages.
16
+
2. The checkbox stating the user's agreement to our [ToS](https://is-a.dev/terms) (Terms of Service) has not been checked.
17
+
3. The PR is requesting NS records without a valid reason or without a reason provided at all. See [this page](https://docs.is-a.dev/faq/#who-can-use-ns-records) for details on what we consider a valid reason to request NS records.
18
+
4. The user violates our ToS in any way; e.g., if they are under thirteen years of age, if their webpage is breaking the law or hosting illegal content, cryptocurrency mining sites or tools, impersonation without consent, et cetera.
19
+
5. The webpage is not related to software development. This does not apply for nested subdomains![^1]
20
+
5. Webpages who want to use our subdomain for commercial purposes. Including but not limited to *anything* with a "pricing plan" page. A portfolio stating that the user is available for hire is not considered commercial usage.
21
+
6. The user breaks GitHub's [Terms of Service](https://docs.github.com/en/site-policy/github-terms/github-terms-of-service).
22
+
7. The PR is a duplicate of another PR (i.e., the user made multiple PRs in the hopes of getting their domain faster).
23
+
8. Any one the "Requirements" checkboxes have not been fulfilled.
24
+
25
+
## Steps to Reviewing a PR
26
+
First, approve checks if needed. Do this by clicking the button at the bottom of the PR labelled "Approve workflows to run".
Now, check the preview (if applicable) or attempt to access the website based on the DNS records in the JSON file (in the "Files changed" tab at the top of the pull request). Now, judge if it should be closed based on the above "When to Instantly Close a PR".
31
+
32
+
You cannot merge a PR if the checks do not pass. If the checks fail, examine the JSON file(s) and their respective filename(s) and/or the "View details" button under the menu which itself is under the "Some checks were not successful" message.
33
+
34
+

35
+
36
+
*Request changes* based on the issues at hand. Do not be rude in your review and act professionally.
37
+
38
+
If there are no issues with the PR at this point, you are free to merge it.
39
+
If you requested changes, please *apply labels to the PR*. For example, if the PR violates our ToS because it is a commercial website:
40
+
41
+

42
+
43
+
## Tips & Tricks
44
+
1. Use GitHub's saved replies feature to speed up reviewing. You can create and edit saved replies [here](https://github.com/settings/replies). Here's an example:
You can use quickly select and use saved replies in the reply/reviewing text box by pressing Ctrl/Command + Period (.) together.
49
+
50
+
2. Mass approve checks first, review afterwards. This allows you to skip the hassle of waiting for checks to finish running.
51
+
52
+
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
+
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!
0 commit comments