Skip to content

docs: add pull request template - #10

Merged
uniqueg merged 2 commits into
mainfrom
docs/pr-template
Oct 27, 2026
Merged

uniqueg merged 2 commits into
mainfrom
docs/pr-template

Conversation

@uniqueg

@uniqueg uniqueg commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Summary

Adds the default pull request template of the organisation, with the sections of the pull request bodies we use (e.g. in Cloud Registry and FOCA):

  • Summary, with a Closes # line;
  • Verification;
  • Declined review findings;
  • Open questions;
  • a short checklist: tests, docs, Conventional Commit title.

It replaces the long checklist of the contributor guide and cloud-components. The file starts with <!-- markdownlint-disable-file MD041 -->, as pull request bodies start with a level-2 heading (the title is the top-level heading); the comment is invisible in the rendered body.

Closes #5

Verification

  • npx [email protected] .github/pull_request_template.md: 0 errors.
  • Compared the headings with recent pull requests in cloud-registry (e.g. #262) and FOCA (#313).
  • Review: light lane (quality reviewer + Sourcery, no adversarial review, per the user). Quality reviewer findings fixed in follow-up commits, except those declined below.
  • Sourcery: approved, no findings.
  • No CI workflows in this repository.

Declined review findings

  • Drop the MD041 comment in favour of an org markdownlint config (low): there is no such config; the comment is invisible in rendered bodies.
  • Put the Conventional Commits link on one line (low): kept wrapped, to stay within 80 columns; it renders correctly.

Open questions

None.

Notes for the maintainer

  • GitHub uses the files of this repository as org defaults only while it is public; it is still private.

🤖 Generated with Claude Code

uniqueg and others added 2 commits October 27, 2026 03:41
Add the default pull request template of the organisation, with the
sections of the pull request bodies we use (summary, Closes #,
verification, declined review findings, open questions) and a short
checklist (tests, docs, Conventional Commit title). It replaces the
longer checklist of the contributor guide and cloud-components.

Closes #5

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Explain the Closes line and the declined review findings for external
contributors, and make the tests item fit changes without behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Adds a default GitHub pull request template that standardizes issue linkage, verification details, review follow-up, open questions, and basic contribution checks while accommodating the repository's markdownlint rules.

File-Level Changes

Change Details Files
Add an organization-standard pull request template with structured author prompts and review context.
  • Add sections for summary, issue closure, verification, declined findings, open questions, and a concise checklist.
  • Include guidance for tests, documentation, and Conventional Commit titles.
  • Disable markdownlint MD041 for the level-2 heading opening used by pull request bodies.
.github/pull_request_template.md

Assessment against linked issues

Issue Objective Addressed Explanation
#5 Add an organization-wide .github/pull_request_template.md file. ✅
#5 Include sections for a summary with a Closes # line, verification, declined review findings, and open questions. ✅
#5 Include a short checklist covering tests, documentation, and a Conventional Commit title. ✅

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review October 27, 2026 03:30

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.

@uniqueg
uniqueg merged commit 16f0135 into main Oct 27, 2026
1 check passed
@uniqueg
uniqueg deleted the docs/pr-template branch October 27, 2026 09:46
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.

Add org-wide pull request template

1 participant