Skip to content

Commit 8679aa8

Browse files
xuanyang15copybara-github
authored andcommitted
docs: Sort PRs by update time in list_untriaged_pull_requests
Co-authored-by: Xuan Yang <xygoogle@google.com> PiperOrigin-RevId: 937462665
1 parent 7b049b9 commit 8679aa8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • contributing/samples/adk_team/adk_pr_triaging_agent

contributing/samples/adk_team/adk_pr_triaging_agent/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def list_untriaged_pull_requests(pr_count: int) -> dict[str, Any]:
236236
query = f"repo:{OWNER}/{REPO} is:open is:pr"
237237
params = {
238238
"q": query,
239-
"sort": "created",
239+
"sort": "updated",
240240
"order": "desc",
241241
"per_page": 100,
242242
"page": 1,

0 commit comments

Comments
 (0)