[PR #905] [MERGED] pull request template: stop pointing at a Commands section that does not exist (PR-TEMPLATE-COMMANDS-SECTION) #944

Closed
opened 2026-11-26 20:19:34 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/905
Author: @TuroYT
Created: 11/24/2026
Status: ✅ Merged
Merged: 11/25/2026
Merged by: @Andretuta

Base: main ← Head: docs/pr-template-commands-section


📝 Commits (1)

  • d15e4c4 pull request template: stop pointing at a Commands section that does not exist (PR-TEMPLATE-COMMANDS-SECTION)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 .github/pull_request_template.md (+2 -2)

📄 Description

Claimed in the coordination issue as: PR-TEMPLATE-COMMANDS-SECTION (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135513657)

What was wrong

.github/pull_request_template.md line 5 tells authors that the Depends on: rule is in "the coordination issue's Commands section, AGENTS.md". Issue #14 has no Commands section. Its headings are "How to use it", "Open work", "Pull request activity" and "Rules (short version)".

Reproduction on main at a28927849:

$ grep -n "Commands section" .github/pull_request_template.md
5:     Commands section, AGENTS.md); delete the line if it builds on none and conflicts with none -->
$ gh api repos/ubiquitarianism/leonida/issues/14 --jq '.body|test("ommand";"i")'
false
$ gh api repos/ubiquitarianism/leonida/issues/14 --jq '.body|split("\n")|map(select(test("^#+ ")))|.[]'
## How to use it
## Open work
## Pull request activity
## Rules (short version)

What changed

Only the reference in the Depends on: prompt changed. The prompt now reads "(see AGENTS.md; the coordination issue lists the open pull requests)". The meaning is the same: list #N for every pull request this one builds on or conflicts with, and delete the line if there are none. The other lines of the template are unchanged.

Tested

$ grep -c "Commands section" .github/pull_request_template.md
0
$ python3 -I tests/test_docs_pr_template.py
Ran 2 tests in 0.000s, OK
$ python3 -I -c "import yaml,glob;[yaml.safe_load(open(f,encoding='utf-8')) for f in glob.glob('.github/workflows/*.yml')];print('ok')"
ok
$ python3 -I tests/test_text_write_line_endings.py
Ran 3 tests in 8.782s, OK
$ python3 -I scripts/check_no_game_data.py .github/pull_request_template.md
(exit 0)
$ git diff --check
(no output)

git grep -l pull_request_template tests/ lists only tests/test_docs_pr_template.py, which was run above.

Not tested

  • The page that GitHub renders for a new pull request from this template. I did not open it.
  • The wording itself. tests/test_docs_pr_template.py checks that each prompt line starts with its label, not the text after it.

AI-assisted (Claude Code).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/905 **Author:** [@TuroYT](https://github.com/TuroYT) **Created:** 11/24/2026 **Status:** ✅ Merged **Merged:** 11/25/2026 **Merged by:** [@Andretuta](https://github.com/Andretuta) **Base:** `main` ← **Head:** `docs/pr-template-commands-section` --- ### 📝 Commits (1) - [`d15e4c4`](https://github.com/ubiquitarianism/leonida/commit/d15e4c43386cf161ec50e5ce2ba98d83c19d2574) pull request template: stop pointing at a Commands section that does not exist (PR-TEMPLATE-COMMANDS-SECTION) ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.github/pull_request_template.md` (+2 -2) </details> ### 📄 Description Claimed in the coordination issue as: PR-TEMPLATE-COMMANDS-SECTION (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7135513657) ### What was wrong `.github/pull_request_template.md` line 5 tells authors that the `Depends on:` rule is in "the coordination issue's Commands section, AGENTS.md". Issue #14 has no Commands section. Its headings are "How to use it", "Open work", "Pull request activity" and "Rules (short version)". Reproduction on `main` at a28927849: ``` $ grep -n "Commands section" .github/pull_request_template.md 5: Commands section, AGENTS.md); delete the line if it builds on none and conflicts with none --> $ gh api repos/ubiquitarianism/leonida/issues/14 --jq '.body|test("ommand";"i")' false $ gh api repos/ubiquitarianism/leonida/issues/14 --jq '.body|split("\n")|map(select(test("^#+ ")))|.[]' ## How to use it ## Open work ## Pull request activity ## Rules (short version) ``` ### What changed Only the reference in the `Depends on:` prompt changed. The prompt now reads "(see AGENTS.md; the coordination issue lists the open pull requests)". The meaning is the same: list `#N` for every pull request this one builds on or conflicts with, and delete the line if there are none. The other lines of the template are unchanged. ### Tested ``` $ grep -c "Commands section" .github/pull_request_template.md 0 $ python3 -I tests/test_docs_pr_template.py Ran 2 tests in 0.000s, OK $ python3 -I -c "import yaml,glob;[yaml.safe_load(open(f,encoding='utf-8')) for f in glob.glob('.github/workflows/*.yml')];print('ok')" ok $ python3 -I tests/test_text_write_line_endings.py Ran 3 tests in 8.782s, OK $ python3 -I scripts/check_no_game_data.py .github/pull_request_template.md (exit 0) $ git diff --check (no output) ``` `git grep -l pull_request_template tests/` lists only `tests/test_docs_pr_template.py`, which was run above. ### Not tested - The page that GitHub renders for a new pull request from this template. I did not open it. - The wording itself. `tests/test_docs_pr_template.py` checks that each prompt line starts with its label, not the text after it. AI-assisted (Claude Code). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:19:34 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#944
No description provided.