[wp-trac] [WordPress Trac] #61887: Add automation to close stale pull requests

WordPress Trac noreply at wordpress.org
Fri Aug 16 08:36:56 UTC 2024


#61887: Add automation to close stale pull requests
------------------------------+-----------------------------
 Reporter:  swissspidy        |      Owner:  (none)
     Type:  task (blessed)    |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 Right now we have over 1600 open PRs on the GitHub repository.

 Some of them are stale because the Trac tickets have long been closed,
 maybe even through another PR.

 We could implement an automated GitHub Action that goes through old PRs
 and closes them if the referenced Trac ticket has been closed in the
 meantime.

 Other things we could consider:

 * Update the PR from the base branch if it's super out of date
 * Add `needs-refresh` on Trac if there are merge conflicts (not sure if we
 can do that from within an action)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61887>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list