Skip to content

chore(github): add pull request template - #14204

Merged
ChristophWurst merged 1 commit into
mainfrom
chore/pull-request-template
Nov 16, 2026
Merged

ChristophWurst merged 1 commit into
mainfrom
chore/pull-request-template

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Context

No ticket. This came out of a maintainer discussion about improving the quality of PR descriptions.

Approach

The template asks for the reasoning (approach, alternatives, omissions) rather than a description of the diff, since the code already shows what changed. It also asks for before/after screenshots on visual changes, and a note on how to test it and which manual tests were done (browser, IMAP, JMAP). Automated tests are left out, since CI covers them.

Left out on purpose: checkboxes and a checklist. These points are the contributor's responsibility, and checkboxes read as tasks for someone else, like the reviewer, to finish. The license is a .license sidecar, like in nextcloud/server.

Testing

Not applicable. The template only renders for PRs opened after this merges.

AI assistance

Drafted with Claude Code, reviewed by me.

Assisted by ClaudeCode:claude-sonnet-5-5

@ChristophWurst ChristophWurst self-assigned this Nov 16, 2026
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Nov 16, 2026
Comment thread .github/pull_request_template.md Outdated

## AI assistance

<!-- Disclose AI tool use, e.g. "Assisted by Claude Code:claude-sonnet-5-5", or state "None". -->

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Must be ClaudeCode:claude-sonnet-5-5, without the whitespace

Comment thread .github/pull_request_template.md Outdated
- What did you intentionally leave out?
-->

## Steps to reproduce

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I think this could be left out here. The steps to reproduce are included in the bug report template anyway and as there should be an issue before fixing any bugs it feels a bit redundant.

@ChristophWurst
ChristophWurst marked this pull request as ready for review November 16, 2026 13:15
Comment thread .github/pull_request_template.md Resolved
Comment thread .github/pull_request_template.md Outdated
@@ -0,0 +1,37 @@
<!--
Write this description in your own words and delete the sections that do not apply.
Every change should follow a triaged ticket (label `1. to develop` or later). Discuss complex changes in the ticket before implementing them.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Every change should follow a triaged ticket (label `1. to develop` or later). Discuss complex changes in the ticket before implementing them.
Bug fixes and small changes don't need a ticket. New features and larger changes should follow a triaged ticket (label `1. to develop` or later); discuss them in the ticket before implementing them.

DerDreschner added a commit that referenced this pull request Nov 16, 2026
CONTRIBUTING.md had no section on how pull requests are handled, so
contributors could not know what is expected of them or what happens
when a pull request stalls. Add rules for discussing changes first,
filling in the pull request template from #14204, scoping, the
fixup-based review workflow, inactivity and maintainers finishing
stalled work.

AGENTS.md required a triaged ticket for every AI-assisted change,
bug fixes included. No other Nextcloud repository requires an issue
for bug fixes, and 6 of 23 community bug fixes merged in the last
12 months had none. Require a triaged ticket only for features and
larger changes, for all contributors, and ask to link an existing
issue for bug fixes instead.

Also align the Assisted-by example with the AGENT_NAME format of the
AI policy.

Closing inactive pull requests automatically needs a change to the
stale workflow and is left for a separate pull request.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
DerDreschner added a commit that referenced this pull request Nov 16, 2026
CONTRIBUTING.md had no section on how pull requests are handled, so
contributors could not know what is expected of them or what happens
when a pull request stalls. Add rules for discussing changes first,
using the pull request template from #14204, scoping, the fixup-based
review workflow, inactivity and maintainers finishing stalled work.
Pull requests that don't use the template may be closed.

AGENTS.md required a triaged ticket for every AI-assisted change,
bug fixes included. No other Nextcloud repository requires an issue
for bug fixes, and 6 of 23 community bug fixes merged in the last
12 months had none. Require a triaged ticket only for features and
larger changes, for all contributors. Bug fixes and small changes
only link an existing issue if there is one; a bug fix that turns
out to need a larger change needs a ticket as well.

Also align the Assisted-by example with the AGENT_NAME format of the
AI policy.

Closing inactive pull requests automatically needs a change to the
stale workflow and is left for a separate pull request.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: David Dreschner <david.dreschner@nextcloud.com>
Guide contributors to document the approach and the reasoning behind
it, before/after screenshots for visual changes and how to test the
change manually.

Deliberately no checklist: the contributor owns these points, and
checkboxes read as tasks for someone else to finish. Automated tests
and reproduction steps are left out, since CI and the issue templates
cover them.

Assisted-by: ClaudeCode:claude-sonnet-5-5
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
@ChristophWurst
ChristophWurst force-pushed the chore/pull-request-template branch from d482c9d to 3550b0b Compare November 16, 2026 17:21
@ChristophWurst
ChristophWurst merged commit 6921060 into main Nov 16, 2026
35 checks passed
@ChristophWurst
ChristophWurst deleted the chore/pull-request-template branch November 16, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release AI assisted This PR contains AI-assisted commits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants