Repository navigation
chore(github): add pull request template - #14204
Merged
Merged
Conversation
DerDreschner
requested changes
Nov 16, 2026
|
|
||
| ## AI assistance | ||
|
|
||
| <!-- Disclose AI tool use, e.g. "Assisted by Claude Code:claude-sonnet-5-5", or state "None". --> |
Member
There was a problem hiding this comment.
nit: Must be ClaudeCode:claude-sonnet-5-5, without the whitespace
| - What did you intentionally leave out? | ||
| --> | ||
|
|
||
| ## Steps to reproduce |
Member
There was a problem hiding this comment.
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.
GVodyanov
reviewed
Nov 16, 2026
| @@ -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. | |||
Member
There was a problem hiding this comment.
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>
DerDreschner
approved these changes
Nov 16, 2026
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
force-pushed
the
chore/pull-request-template
branch
from
November 16, 2026 17:21
d482c9d to
3550b0b
Compare
ChristophWurst
enabled auto-merge
November 16, 2026 17:21
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
.licensesidecar, 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