Skip to content

docs: Add pull request rules and exempt small bug fixes from tickets - #14206

Merged
DerDreschner merged 1 commit into
mainfrom
chore/extend-contributor-guidelines
Nov 18, 2026
Merged

DerDreschner merged 1 commit into
mainfrom
chore/extend-contributor-guidelines

Conversation

@DerDreschner

Copy link
Copy Markdown
Member

Context

At the moment, contributors don't know what exactly we expect from them when opening a PR. This is an effort to make the rules clear for all sides.

Approach

The following rules are being changed or fixated:

  • Bug fixes and small changes don't need an issue before creating the PR (including agent-driven ones)
    • However, the contributor should still check for existing issues to link
  • New features and larger changes need an issue labelled 1. to develop before creating the PR
  • If a bugfix turns out to need larger modifications, create an issue and discuss the solution beforehand
  • One PR should only address one concern (no unrelated refactorings, dependency updates or fixes) to allow easy backports to older versions
  • Use the template introduced in chore(github): add pull request template #14204 or be prepared that your PR will get closed
  • Don't force-push during review, use fixup commits instead
  • If changes were requested and there is no reaction for 30 days, the PR can be closed. It can be reopened later.
  • Stalled PRs can be taken over by one of our maintainers. The original authorship is kept.

Some of the rules are already in action (yet sometimes only in the AGENTS.md), while others are new to allow better handling of stalled PRs.

AI assistance

Assisted-by: ClaudeCode:claude-opus-5-5

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 DerDreschner self-assigned this Nov 16, 2026
@DerDreschner DerDreschner added the AI assisted This PR contains AI-assisted commits label Nov 16, 2026
@DerDreschner
DerDreschner merged commit e74edfe into main Nov 18, 2026
35 checks passed
@DerDreschner
DerDreschner deleted the chore/extend-contributor-guidelines branch November 18, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants