chore(ci): Update GitHub /assign workflow to use advanced search API (#7601)

This commit is contained in:
David East
2025-09-02 18:42:07 -04:00
committed by GitHub
parent 49dfe36cea
commit 315d786063

View File

@@ -50,7 +50,8 @@ jobs:
// Search for open issues already assigned to the commenter in this repo
const { data: assignedIssues } = await github.rest.search.issuesAndPullRequests({
q: `is:issue repo:${owner}/${repo} assignee:${commenter} is:open`
q: `is:issue repo:${owner}/${repo} assignee:${commenter} is:open`,
advanced_search: true
});
if (assignedIssues.total_count >= MAX_ISSUES_ASSIGNED) {