From 2f8a27d08b759341356c6c4652ae00a140acf520 Mon Sep 17 00:00:00 2001 From: modusensus Date: Sat, 26 Sep 2026 20:00:19 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20Contributor=20Workflow=20=E8=A1=A5?= =?UTF-8?q?=E5=85=85=E8=AE=A4=E9=A2=86=E7=8B=AC=E5=8D=A0=E4=B8=8E=E8=B6=85?= =?UTF-8?q?=E6=97=B6=E9=87=8A=E6=94=BE=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 贡献流程此前只写了「Claim before you start」,缺两处明确规则: - 认领独占:认领评论即锁定,同 issue 的第二个 PR 标记 duplicate 关闭 (防双人撞车重复 PR); - 认领超时释放:2 周无 PR 即释放,可重新认领(防占坑不干活)。 Co-authored-by: Anans-Ivresse --- CONTRIBUTING.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb79dc41..1da24235 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -118,6 +118,8 @@ Almost every change — **fixes and small features included** — starts from an 2. **One PR per Issue**: reference it in the PR body (`Closes #N` / `Fixes #N` when the PR fully resolves it). 3. **Keep the PR minimal**: behavior changes belong in `src/` (+ `test/`); run `npm run sync` so `lib/` follows (`check-sync` will fail CI otherwise); `npm test` green; user-visible changes include their README line in the same PR. 4. **CI must be green** (Node 22/24 × Linux/Windows, full suite, Codecov) before review. +5. **A claimed Issue belongs to the claimant**: the claim comment is the lock — a second PR on the same Issue will be marked `duplicate` and closed, unless the first PR is clearly low-quality or has gone silent. +6. **Claims expire**: a claim with no PR within 2 weeks is released — anyone may re-claim it on the Issue thread. ---