diff --git a/.github/workflows/pull-request-comments.yml b/.github/workflows/pull-request-comments.yml index ab0cf081948f2..59c73db4e4131 100644 --- a/.github/workflows/pull-request-comments.yml +++ b/.github/workflows/pull-request-comments.yml @@ -195,7 +195,7 @@ jobs: const prBody = pr.body ?? ''; const prTitle = pr.title ?? ''; - const tracTicketRegex = new RegExp( '(https?://core.trac.wordpress.org/ticket/|Core-)([0-9]+)', 'g' ); + const tracTicketRegex = new RegExp( '(https?://core.trac.wordpress.org/ticket/|Core-|ticket:)([0-9]+)', 'g' ); const tracTicketMatches = prBody.match( tracTicketRegex ) || prTitle.match( tracTicketRegex ); if ( ! tracTicketMatches ) {