Numbers in PR descriptions are considered bug numbers by the Bugzilla GitHub integration
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
People
(Reporter: marco, Assigned: dkl)
Details
Attachments
(1 file)
For example, https://github.com/mozilla/pdf.js/pull/15765 was linked to https://bugzilla.mozilla.org/show_bug.cgi?id=15742 because its title is "[api-minor] Remove the TextLayer timeout
parameter (PR 15742 follow-up)".
In pdf.js, we mention "bug XXX" in the description when we want to reference a bug.
Assignee | ||
Comment 1•1 year ago
|
||
I am using the same regexp used in moz-phab and few other places so not sure why PR XXX would have triggered it but we may have to get very specific going forward and when the hook is triggered. So I can definitely change it to only trigger when "[Bb]ug XXX" is encountered and just ignore any other integer number.
(In reply to David Lawrence [:dkl] from comment #1)
So I can definitely change it to only trigger when "[Bb]ug XXX" is encountered and just ignore any other integer number.
You'd want \b[Bb]ug[ -]\d+
as I've seen both Bug 1803374
and Bug-1803374
.
Comment 3•1 year ago
|
||
Assignee | ||
Comment 4•1 year ago
|
||
Description
•