Skip to content

chore: simplify and consolidate the org PR template#10

Merged
cwillisf merged 1 commit into
mainfrom
chore/consolidate-pr-template
Jun 15, 2026
Merged

chore: simplify and consolidate the org PR template#10
cwillisf merged 1 commit into
mainfrom
chore/consolidate-pr-template

Conversation

@cwillisf

Copy link
Copy Markdown
Contributor

Summary

Replace the four-section org default PR template with three sections: Summary (what + why), Resolves, and Testing.

The old template split "Proposed Changes" from "Reason for Changes" — useful for a large change, awkward filler for a small one. Merging them into Summary keeps the prompt for the why without forcing an empty section. Other changes: guidance moves into HTML comments so it doesn't linger in the rendered description; headings are now peers (all ##) rather than a mixed #/## hierarchy; Resolves explicitly accepts GitHub issues, Jira tickets, or N/A; and Test Coverage becomes Testing (broader than just added tests) with a prompt for OS + browser coverage on user-visible changes.

(This PR's own description uses the new template, as a demo.)

Resolves

N/A — no associated issue. Part of an effort to consolidate PR templates across the org so most repos inherit one well-maintained default instead of drifting per-repo copies. An audit of all ~105 org repos found 16 with their own template: ~12 are near-identical generic variants, and only 3 have genuinely repo-specific needs (scratch-l10n, scratch-platform, scratchjr-webapp, which keep theirs). Once this lands, the generic copies will be deleted so they inherit this default.

Testing

No code change — Markdown only. Verified the rendered preview and confirmed the HTML-comment guidance is hidden in the rendered view. Not user-facing, so no browser coverage applies.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the org-default pull request template to reduce rendered “filler” while keeping author guidance available in the edit view via HTML comments.

Changes:

  • Consolidates “Proposed Changes” + “Reason for Changes” into a single Summary section.
  • Updates the Resolves section guidance to accept GitHub issues, Jira tickets, or N/A.
  • Renames Test Coverage to Testing and expands guidance to include manual verification and OS/browser coverage for user-visible changes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread PULL_REQUEST_TEMPLATE.md
Replace the four-section template (Proposed Changes / Resolves / Reason for
Changes / Test Coverage) with three sections: Summary (what + why), Resolves,
and Testing. Merging the what/why split removes a section that was valuable for
large changes but redundant for small ones. Guidance moves into HTML comments so
it does not linger in the rendered description, and headings are peers (all h2).

Resolves now explicitly accommodates GitHub issues, Jira tickets, and N/A, and
its example uses the fully qualified org/repo#123 form (per AGENTS.md) rather
than a bare reference, which is ambiguous across forks. Testing replaces Test
Coverage (broader than added tests) and prompts for OS and browser coverage when
a change is user-visible. This is the org-wide default inherited by repos
without their own template.
@cwillisf cwillisf force-pushed the chore/consolidate-pr-template branch from ec7b283 to 09fbe47 Compare June 15, 2026 18:43
@cwillisf cwillisf requested a review from Copilot June 15, 2026 18:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@cwillisf cwillisf merged commit 57141f1 into main Jun 15, 2026
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 15, 2026
@cwillisf cwillisf deleted the chore/consolidate-pr-template branch June 15, 2026 18:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants