From 9646e48131e30f0daa882d215ae7b0b564963b29 Mon Sep 17 00:00:00 2001 From: Marco Walz Date: Thu, 27 Aug 2026 20:49:43 +0200 Subject: [PATCH] docs: record that a closing keyword binds to one issue A PR closing ten issues with `Closes #360, #361, ...` closed only #360 and left nine open; the other nine had to be closed by hand. GitHub binds the keyword to a single reference, so it has to be repeated per number. --- AGENTS.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1d9a3b7f..ddbb7bec 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -137,6 +137,8 @@ EOF **PR body rule:** always use a single-quoted heredoc (`<<'EOF'`). Backticks and special characters pass through literally — never escape them manually inside the heredoc. +**Closing more than one issue:** repeat the keyword for every number. `Closes #1, #2, #3` closes only #1 and leaves the rest as plain mentions; write `Closes #1, closes #2, closes #3`. After merging a PR that should close several, check that they all did. + **Keep descriptions current:** if new commits change the scope of a PR, update the description immediately with `gh pr edit`. **Merge conflicts:**