Skip to content

ci: add and validate a pull request template - #1211

Open
zhjwpku wants to merge 4 commits into
apache:mainfrom
zhjwpku:ci/pr-template
Open

zhjwpku wants to merge 4 commits into
apache:mainfrom
zhjwpku:ci/pr-template

Conversation

@zhjwpku

@zhjwpku zhjwpku commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

What problem does this PR solve, and who is affected?

When a PR omits who is affected, why the change is needed, or how it was tested, reviewers have to reconstruct that context from the diff or ask the author during review.

Community discussion

What changed, including any breaking API changes or critical fixes?

The new PR template asks contributors to explain the problem, describe the change and its tests, disclose AI use, and indicate who reviewed the work before submission. A GitHub Actions check flags unanswered sections and conflicting review selections.

How did you test this change?

Ran pre-commit on both changed files and exercised the workflow's Python check locally. Completed descriptions passed. Empty answers, an unchecked review section, and selecting both Human and Not reviewed failed as expected.

Was AI used for this PR? If so, how?

I used Codex to revise the template and its CI check, verify the changes locally, and draft this description.

Who reviewed this PR before submission (including self-review)?

  • Human
  • AI
  • Not reviewed

Reviewers need to know who is affected by a change, why it is needed,
and how the author tested it. When that context is missing, reviewers
have to piece it together from the diff or ask for it during review.

Ask authors to provide that context, disclose how they used AI, and
indicate who reviewed the PR before submission. Check for missing
answers so authors can fill them in before a reviewer picks up the PR.

Community discussion: https://lists.apache.org/thread/tj5spv4w2xzbommyqrqvf5347y024h47
Comment thread .github/pull_request_template.md Outdated
@@ -0,0 +1,26 @@
## Problem

<!-- What problem does this solve, and who is affected? Link the issue if there is one. -->

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.

What about following the style of Arrow's template to use self-descriptive titles and remove these comments?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Agreed. How does it look now? It's a little different from Arrow's template, but we can adjust it if needed.

Comment thread .github/pull_request_template.md Resolved
Co-authored-by: Gang Wu <ustcwg@gmail.com>
@zhjwpku
zhjwpku requested a review from wgtmac December 4, 2026 09:39

This branch has not been deployed

No deployments
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.

2 participants