Skip to content

Commit 9afb36e

Browse files
committed
feat: Add PR template to guide base branch selection
Adds a pull request template that reminds developers to target fork-main instead of main. The template includes: - Clear warning about base branch selection - Explanation of branch purposes (fork-main vs main) - Standard PR sections (Why, How, Test Plan) - Link to FORK.md documentation This helps prevent accidentally creating PRs against the locked main branch which is reserved for automated upstream syncing.
1 parent 5790bbf commit 9afb36e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/pull_request_template.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
## ⚠️ Important: Check Your Base Branch
2+
3+
**This PR should target `fork-main`, not `main`.**
4+
5+
-**`fork-main`** ← Active development branch (use this!)
6+
-**`main`** ← Auto-synced upstream mirror (locked, do not use)
7+
8+
If you accidentally selected `main` as the base branch, change it using the dropdown above before submitting.
9+
10+
---
11+
12+
## Why?
13+
14+
[Brief description of the problem or opportunity this PR addresses]
15+
16+
## How?
17+
18+
[High-level approach and key implementation decisions]
19+
20+
## Test Plan
21+
22+
[How to verify the changes work as expected]
23+
24+
---
25+
26+
📚 **New to this fork?** Read [FORK.md](../FORK.md) to understand our branch strategy.

0 commit comments

Comments
 (0)