#61865 closed defect (bug) (fixed)
GH Action requesting ticket number doesn't recognize Core-#####
Reported by: | peterwilsoncc | Owned by: | peterwilsoncc |
---|---|---|---|
Milestone: | 6.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Build/Test Tools | Keywords: | has-patch has-unit-tests |
Focuses: | Cc: |
Description
The WordPress-Develop repository is configured to accept ticket in the form Core-#####
on pull requests. These strings will be automatically linked to the ticket and picked up by the PR bot on trac.
As an example, view this pull request referencing Core-61864.
The GitHub action that adds a comment requesting PR descriptions include a link to tickets does not recognize these as links and will drop a comment requesting it be added.
Change History (24)
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#1
- Keywords has-patch added
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#2
Modifies the regex in the GitHub action commenting with a request to link to trac to recognize the Core- prefix.
.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#3
Modifies the regex in the GitHub action commenting with a request to link to trac to recognize the Core- prefix.
.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#4
Modifies the regex in the GitHub action commenting with a request to link to trac to recognize the Core- prefix.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#5
Modifies the regex in the GitHub action commenting with a request to link to a trac ticket to recognize the Core- prefix.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#6
Modifies the regex in the GitHub action commenting with a request to link to a trac ticket to recognize the Core- prefix.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#7
Modifies the regex in the GitHub action commenting with a request to link to a trac ticket to recognize the Core- prefix.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#8
Modifies the regex in the GitHub action commenting with a request to link to a trac ticket to recognize the Core- prefix.
This ticket was mentioned in PR #7181 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#9
Modifies the regex in the GitHub action commenting with a request to link to a trac ticket to recognize the Core- prefix.
This ticket was mentioned in PR #7182 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#10
Core-61865
#11
@
5 weeks ago
I suspect the bot isn't picking up the issue number in the linked pull request due to the use of pull_request_target
rather than pull_request
.
@desrosj I suspect it will need a yolo commit and the crossing of fingers but it would be good to get your view once you return.
@peterwilsoncc commented on PR #7182:
5 weeks ago
#12
@martinkrcho I suspect it's because the action uses pull_request_target
rather than pull_request
for the action so it's running the version in trunk rather than this branch.
I'm not sure of a way to force this short of a yolo commit and testing it out.
I tested it on my own fork with the pull_request
event and it seemed to work but it would be good to get a logic check.
#14
@
5 weeks ago
- Owner set to peterwilsoncc
- Resolution set to fixed
- Status changed from new to closed
In 58901:
@peterwilsoncc commented on PR #7182:
5 weeks ago
#15
Merged r58901 / https://github.com/WordPress/wordpress-develop/commit/efee9258317fda297e11be7c5c418816fdd1f6bb
There are some security implications to consider, see https://runs-on.com/github-actions/pull-request-vs-pull-request-target/.
I'll need to check with someone but I think that's why it was changed at some point although I could be mistaken.
This ticket was mentioned in PR #7199 on WordPress/wordpress-develop by @peterwilsoncc.
5 weeks ago
#16
- Keywords has-unit-tests added
Core-61865
@peterwilsoncc commented on PR #7199:
5 weeks ago
#17
#18
@
3 weeks ago
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening this to add ticket:
as an accepted prefix, see [Meta13989]. @dd32 added the prefix to the accepted settings on WordPress-Develop yesterday.
This ticket was mentioned in PR #7242 on WordPress/wordpress-develop by @peterwilsoncc.
3 weeks ago
#19
Accepts ticket:
as a prefix for linking to a trac ticket. This is also a permitted autolink reference.
Trac ticket: ticket:61865
@peterwilsoncc commented on PR #7242:
3 weeks ago
#21
This ticket was mentioned in PR #7243 on WordPress/wordpress-develop by @peterwilsoncc.
3 weeks ago
#22
This ticket was mentioned in PR #7244 on WordPress/wordpress-develop by @peterwilsoncc.
3 weeks ago
#23
Core-61865
This ticket was mentioned in PR #7245 on WordPress/wordpress-develop by @peterwilsoncc.
3 weeks ago
#24
https://core.trac.wordpress.org/ticket/61865
One last test.
Modifies the regex in the GitHub action commenting with a request to link to trac to recognize the Core- prefix.
Trac ticket: Core-61865