Opened 9 months ago
Closed 2 months ago
#60129 closed task (blessed) (fixed)
Comment on a PR when no Trac ticket is included
Reported by: | desrosj | Owned by: | desrosj |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | good-first-bug has-patch commit |
Focuses: | Cc: |
Description
When contributing to Core using a pull request on GitHub, a Trac ticket is required for the contribution to be considered.
Even though the pull request template notes this, it's easy to forget or overlook.
Adding a job in the Pull Request Comments workflow to add a reminder comment when a Trac ticket link is missing is an easy way to help avoid contributions being lost in the shuffle.
Change History (17)
This ticket was mentioned in PR #6060 on WordPress/wordpress-develop by @anamarijapapic.
7 months ago
#1
- Keywords has-patch added; needs-patch removed
This ticket was mentioned in PR #6088 on WordPress/wordpress-develop by @desrosj.
7 months ago
#2
Trac ticket:
7 months ago
#3
Was thinking about this a bit more today. I think we should also attempt to check if a previous comment exists to avoid multiple comments for the same thing on a PR.
@anamarijapapic commented on PR #6060:
7 months ago
#4
Thank you for the review @desrosj and @peterwilsoncc!
I'll make the requested changes in the next few days when I have some free time. Feel free to let me know if you have any further suggestions!
This ticket was mentioned in Slack in #core by desrosj. View the logs.
7 months ago
#9
@
5 months ago
It's crucial to remember including a Trac ticket link when contributing to WordPress Core via a GitHub pull request. Despite the reminder in the template, oversight happens.
Implementing a job in the PR Comments workflow to prompt for a missing Trac ticket link could prevent contributions from slipping through. Additionally, considering @anamarijapapic's suggestion to avoid duplicate comments on PRs would streamline the process further.
#11
@
4 months ago
- Keywords commit added
- Owner set to desrosj
- Status changed from new to accepted
Hi @anamarijapapic! Thanks for working on this, and apologies it took so long to circle back to!
I think that this looks to be in a good state. Let's give it a try!
#15
@
4 months ago
- Resolution fixed deleted
- Status changed from closed to reopened
@ocean90 That's probably a good idea to limit the number of bot comments on the PR.
Looks like there is an edited
activity type for pull_request_target
/pull_request
that could be used for this.
#18
@
2 months ago
- Resolution set to fixed
- Status changed from reopened to closed
I don't have the availability to tackle the suggestion above between now and 6.6 final release, and this will only require changes to trunk
anyway.
I've opened #61567 for the follow up suggestion, and I'm closing this out so the ticket and changes made during this cycle can remain there.
When contributing to Core using a pull request on GitHub, a Trac ticket is required for the contribution to be considered.
Even though the pull request template notes this, it's easy to forget or overlook.
Adding a job in the Pull Request Comments workflow to add a reminder comment when a Trac ticket link is missing is an easy way to help avoid contributions being lost in the shuffle.
Trac ticket: https://core.trac.wordpress.org/ticket/60129