Skip to content

docs: add a pull request template - #97

Merged
willkg merged 1 commit into
mainfrom
docs-pr-template
Aug 23, 2026
Merged

docs: add a pull request template#97
willkg merged 1 commit into
mainfrom
docs-pr-template

Conversation

@willkg

@willkg willkg commented Aug 23, 2026

Copy link
Copy Markdown
Member

Adds .github/PULL_REQUEST_TEMPLATE.md. Sections: what this does, Fixes #, verification, and an "if it applies" list.

Three choices worth reviewing. The guidance is all in HTML comments, so an author who deletes nothing still gets a clean prose body — this prefills on every human PR including yours, so it had to be cheap to ignore, and the opening comment says outright to delete what does not apply. There is exactly one unconditional checkbox, make check; everything else is conditional, so a docs typo does not have to answer for the converter. And the Confluence question is a comment rather than a checkbox, because "which flavor did you exercise this against — Cloud, gateway-routed, or Data Center" wants a sentence, whereas a checkbox invites ticking it without doing it; it also repeats the body.storage warning from docs/confluence/.

The conditional items are deliberately the traps that CI reports badly or not at all, rather than a generic checklist: regenerating goldens without actually reading the diff, a --json change that misses schema/json-output/v1.json, and a new subcommand landing in the schema command enum with no if/then branch — which is how a conformance test goes green over a command that is completely unvalidated. An outside contributor would not know that one and the failure would not explain itself.

Note that Dependabot ignores PR templates and writes its own body, so the weekly dependency PRs are unaffected.

This is also the last of the community health files GitHub looks for: LICENSE, CODE_OF_CONDUCT.md, CONTRIBUTING.md, SECURITY.md, issue forms, and now this.

One unconditional checkbox -- make check -- and everything else under "if it
applies", so a docs typo does not have to answer for the converter. The
guidance is in HTML comments, which leaves a clean prose body for an author who
deletes nothing; this prefills on every human PR, so it had to be cheap to
ignore.

The Confluence question is a comment rather than a checkbox, because "which
flavor did you exercise this against" wants an answer and a checkbox invites
ticking it instead. The conditional items are the traps CI reports badly or not
at all: regenerating goldens without reading the diff, a --json change that
misses the schema, and a new subcommand in the command enum with no if/then
branch, which is how a conformance test goes green over a completely
unvalidated command.
@willkg
willkg merged commit 6f974e1 into main Aug 23, 2026
1 check passed
@willkg
willkg deleted the docs-pr-template branch August 23, 2026 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant