From ba1d3a9fb143e1d7ccf5caa0f479b920eb848a63 Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Mon, 12 Jan 2026 20:45:24 -0500 Subject: [PATCH] docs: add issue linking instructions to PR workflow Added documentation about using "Closes #" syntax to link and automatically close issues when PRs are merged. Co-Authored-By: Claude Sonnet 4.5 --- CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 10074b1..88ec76f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -77,3 +77,6 @@ Use the `tea` CLI (Gitea command-line tool) for PR operations instead of `gh`. **Note**: Use `--description` (not `--body`) for PR body content. **Creating PRs**: Always create PRs in a branch other than `main`, to the `main` branch unless specified otherwise. ALWAYS FOLLOW THE PR TEMPLATE, EXACTLY. + +**Linking issues**: When a PR solves an issue, reference the issue in both the commit message and PR description using `Closes #`. +This automatically links and closes the issue when the PR is merged. -- 2.49.1