docs: add branch-naming rule to prevent issue-tracker auto-link collisions (#28574)
This commit is contained in:
1 parent
5e12a74f38
commit
150d366259
1 file changed
+1
@@ -46,6 +46,7 @@ For changes under `site/src/`, also read [FRONTEND_PATTERNS.md](.claude/docs/FRO
|
||||
- Prefer targeted tests and checks while iterating. Run the broader checks required by the affected area before handoff.
|
||||
- Do not force-push unless explicitly requested.
|
||||
- Commit and PR titles use `type(scope): message`. A scope must be a real path containing every changed file. Use a broader scope or no scope for cross-cutting changes.
|
||||
- Name branches so they do not collide with issue-tracker IDs. When a branch references a GitHub issue number, write it as `issue-<number>` (for example, `issue-1234-fix-flake`), not as a bare `<word>-<number>` such as `docs-1234` or a leading number. Connected trackers like Linear auto-link any branch containing a `<key>-<number>` token to the same-numbered issue on the team that owns `<key>`, silently attaching the PR to an unrelated ticket and moving it through that ticket's workflow.
|
||||
|
||||
## Essential commands
|
||||
|
||||
|
||||
Reference in new issue
Block a user