Files
supabase/.github/pull_request_template.md
Alexis Aguilar 6d14282357 docs: add pull request review section to docs CONTRIBUTING (#54091)
## Problem

The Docs PR Tracker has no written home. Contributors don't know how
fast to expect a review, who merges, or what happens to a PR that goes
quiet, and the upcoming bot comments need a page to link to. Tracked in
[DOCS-1589](https://linear.app/supabase/issue/DOCS-1589), part of
[DOCS-1689](https://linear.app/supabase/issue/DOCS-1689).

## Solution

A new "Pull request review" section in `apps/docs/CONTRIBUTING.md`,
linked from the intro. It covers:

- **Branch PRs vs. fork PRs:** the rules depend on where a PR comes
from, which matches who can merge.
- **Review priorities:** Critical, Urgent, Moderate, and Low. Low is
selected by default in the PR template, and when more than one is
selected, the highest applies. Fork PRs are always Low.
- **Drafts:** every PR that isn't a draft is ready for review. PRs that
are still in progress or blocked stay drafts, and blocked PRs start with
a `[!IMPORTANT]` callout naming the blocker.
- **Claiming:** a Docs team member adds themselves as a reviewer.
- **Merging:** branch PR authors merge their own PRs. The approving Docs
reviewer merges fork PRs. Approvals from community reviewers still need
a Docs team member to claim, approve, and merge the PR.
- **Inactive PRs:** reminders at 15 and 30 days without activity, and
closing at 60. Drafts are exempt.

The PR template matches the new wording: its section is now **Review
priority**, it no longer asks authors to clear Low, and its top comment
covers in-progress PRs as well as blocked ones.

The section is public, so it leaves out internal details like Slack
channels and the daily digest.

## Needs review

- **It describes automation that doesn't exist yet:** the 3-day approval
reminder (DOCS-1597), and the inactive-PR reminders and closing
(DOCS-1598). Merge this only after deciding whether to drop those
sentences until each one ships, or hold this PR until they do.
- **Anchors:** bot comments will link to `#pull-request-review` and its
subsections, so treat the heading names as stable once merged.

## Review instructions

1. Read the new section in the rendered `apps/docs/CONTRIBUTING.md`.
2. Confirm the rules match DOCS-1689.
3. Check that the intro link to `#pull-request-review` jumps to the
section.

## Checklist

Check all before review:

- [x] I have read
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [x] If I wrote a new docs topic or edited an existing topic, I used
the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs
[style
guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)
2026-12-03 18:06:50 -07:00

66 lines
3.7 KiB
Markdown

<!--
Still in progress, or blocked by another PR or an unshipped feature? Keep this PR as a draft. If it's blocked, replace this comment with:
> [!IMPORTANT]
> This PR relies on #000 being merged first.
-->
## Problem
Describe what went wrong or what need emerged to justify this bug fix, feature, or change.
Link any relevant issues here.
## Solution
Provide a brief description of the change and the key choices you made when architecting the solution.
Feel free to include screenshots if it includes visual changes.
<!--
## Preview links
If relevant, include links to changed pages for easy review access.
Copy the preview base URL from the Vercel bot comment on this PR. Use the following table as an example template.
| Site | Live | Preview | Search for |
| -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------- |
| WWW | [/blog/your-post](https://supabase.com/blog/your-post) | [/blog/your-post](https://zone-www-dot-com-git-branch-name-supabase.vercel.app/blog/your-post) | unique phrase from the change |
| Docs | [/docs/guides/your-page](https://supabase.com/docs/guides/your-page) | [/docs/guides/your-page](https://docs-git-branch-name-supabase.vercel.app/docs/guides/your-page) | unique phrase from the change |
| Studio | [/dashboard](https://supabase.com/dashboard) | [/dashboard](https://studio-git-branch-name-supabase.vercel.app/dashboard) | unique phrase from the change |
| Design system | [/design-system](https://supabase.com/design-system) | [/design-system](https://design-system-git-branch-name-supabase.vercel.app/design-system) | unique phrase from the change |
| UI library | [/library](https://supabase.com/library) | [/library](https://ui-library-git-branch-name-supabase.vercel.app/library) | unique phrase from the change |
| Knowledge base | [/kb/guides/your-page](https://supabase.com/kb/guides/your-page) | [/kb/guides/your-page](https://kb-git-branch-name-supabase.vercel.app/kb/guides/your-page) | unique phrase from the change |
-->
<!-- ## Additional context
Optionally add any other context or screenshots.
-->
## Review priority (docs PRs only)
<!--
Low is selected by default. If this docs PR needs a faster review and you're on the Supabase team, select a higher priority. The highest selected priority applies.
PRs from forks are always reviewed as Low, so you can skip this section.
-->
- [ ] Critical: needs a review as soon as possible
- [ ] Urgent: the feature ships soon, or it's blocking something else
- [ ] Moderate: good to have soon, not urgent
- [x] Low: get to it when you can
## Review instructions
Provide a clear numbered procedure that the PR reviewer can walk through.
1. For example, `Open the live and preview links side-by-side.`
2. For example, `See the issue is fixed.`
## Checklist
Check all before review:
- [ ] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
- [ ] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which applies the docs [style guide](https://github.com/supabase/supabase/tree/master/apps/docs/style-guide)