-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PR Template: Suggest linking the issue #68924
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Co-authored-by: Mitchell Austin <mr.fye@oneandthesame.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, please, this will help standardize how to provide context to PRs and minimize PRs without issue.
Flaky tests detected in f61804a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/13027760486
|
Love this change.
Right, and sometimes it could be a PR that addresses only a part of the issue, pending other incremental PRs, so that it'snot always a 'close'. What about suggesting a few keywords e.g.:
And maybe link to the list o fkeywords?
The contributing guidelines of this project require any non-trivial PRs to be preceded by an issue to allow discussion. I would love to see this at least mentioned or linked to in the PR template. See: https://github.com/WordPress/gutenberg/blob/trunk/docs/contributors/repository-management.md#pull-requests
|
Thank you, @afercia! I've updated the text to list possible keywords. The template already links to the contribution guidelines. Since these templates are for new contributors, I don't think we want to overload them with information.
While I mostly agree here, defining "non-trivial" PR is complicated. When reviewing PRs, I'll usually comment with a link to the docs when this is the case. This is also true for PRs with an attached issue, but the solution isn't clear, or adding a feature that might be better suited for a plugin. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The suggestions are clear and varied while still suggesting closing an issue by default. I don't think we should overcomplicate it and ship this as a first step.
Thanks for the input, everyone! 🙇 |
What?
Update the PR template and recommend linking the issue using a reserved keyword.
Why?
Often, PRs aren't linked to their corresponding issue or incorrectly reference them.
Testing Instructions
None.