Make WordPress Core

#63081 closed defect (bug) (fixed)

Account for `Core-{n}` format in the PR cleanup workflow

Reported by: johnbillion Owned by: desrosj
Priority: normal Milestone: 6.9
Component: Build/Test Tools Version:
Severity: normal Keywords: good-first-bug has-patch commit
Cc: Focuses:

Description

The ​pull request cleanup workflow expects that a PR contains a ticket reference in the format https://core.trac.wordpress.org/ticket/{n}, but it's also possible to use the shorter format Core-{n}. PRs that use this format don't get cleaned up.

​Example PR here.

Ideally the workflow would be adjusted to handle either format.

Change History (4)

This ticket was mentioned in ​PR #8485 on ​WordPress/wordpress-develop by ​@yogeshbhutkar.


19 months ago
#1

  • Keywords has-patch added; needs-patch removed

### Description

Trac ticket: Core-63081

This PR enhances the search query by enabling support for Core-{n}, improving the filtering of PRs.

​@yogeshbhutkar commented on ​PR #8485:


19 months ago
#2

Hi, @desrosj. I believe you've worked with similar GitHub Actions before. If possible, can you please review this PR when you get a moment?

#3 @desrosj
19 months ago

  • Keywords commit added
  • Milestone Awaiting Review → 6.9

#4 @desrosj
19 months ago

  • Owner set to desrosj
  • Resolution → fixed
  • Status new → closed

In 60110:

Build/Test Tools: Account for Core-{n} ticket references.

This expands the pull request cleanup action to also account for the Core-{n} pattern. This pattern dynamically links to Trac tickets without having to explicitly provide the ticket URL and are not detected in the current workflow logic.

Props yogeshbhutkar, johnbillion.
Fixes #63081.

Note: See TracTickets for help on using tickets.