From 74477d8c2a48de888af10256b402f480a0f89257 Mon Sep 17 00:00:00 2001 From: Jeff Smith Date: Mon, 6 Apr 2026 22:58:01 -0600 Subject: [PATCH] chore(workflow): manually close issues after merge, do not rely on auto-close --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 15e7768..ce4c670 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -108,6 +108,12 @@ python3 luminos.py --install-extras - **Two-branch maximum** — never have more than 2 unmerged branches - **Merge with `--no-ff`** — preserves branch history in the log - **Delete after merge** — `git branch -d ` immediately after merge +- **Close the underlying issue manually** — after merging, `PATCH` the + referenced issue to `state: closed` via the Forgejo API. Do not rely + on `Closes #N` keyword auto-close — it has not worked reliably in + this Forgejo instance, leaving issues stale while their PRs are + merged. Manual close is one extra API call and is part of the merge + step, not optional. - **Push after commits** — keep Forgejo in sync after each commit or logical batch ---