Skip to content

GH Actions: Update deprecated search API in reusable-cleanup-pull-requests#8740

Closed
himanshupathak95 wants to merge 1 commit into
WordPress:trunkfrom
himanshupathak95:fix/63278
Closed

GH Actions: Update deprecated search API in reusable-cleanup-pull-requests#8740
himanshupathak95 wants to merge 1 commit into
WordPress:trunkfrom
himanshupathak95:fix/63278

Conversation

@himanshupathak95
Copy link
Copy Markdown

@himanshupathak95 himanshupathak95 commented Apr 25, 2025

Trac ticket: https://core.trac.wordpress.org/ticket/63278

This PR updates the reusable-cleanup-pull-requests.yml workflow to use the github.rest.search.issues method instead of the deprecated github.rest.search.issuesAndPullRequests method for finding related pull requests.

The issuesAndPullRequests search method is deprecated by GitHub and scheduled for removal in September 2025. This change ensures the workflow continues to function correctly after the deprecated method is removed. The search.issues method can achieve the same results when used with the existing is:pr filter in the query.

@himanshupathak95 himanshupathak95 changed the title GH Actions: Update deprecated search API in reusable-cleanup-pull-requests. GH Actions: Update deprecated search API in reusable-cleanup-pull-requests Apr 25, 2025
@himanshupathak95 himanshupathak95 marked this pull request as ready for review April 25, 2025 09:40
@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props abcd95.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@desrosj desrosj self-requested a review June 11, 2025 13:06
Copy link
Copy Markdown
Member

@desrosj desrosj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions
Copy link
Copy Markdown

A commit was made that fixes the Trac ticket referenced in the description of this pull request.

SVN changeset: 60315
GitHub commit: c117d2d

This PR will be closed, but please confirm the accuracy of this and reopen if there is more work to be done.

@github-actions github-actions Bot closed this Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants