Fix computing the maximum merged PR (#7127)

Assisted-by: Antigravity with Gemini
This commit is contained in:
Chandler Carruth authored and GitHub committed 2026-04-28 18:15:43 +00:00
1 parent a8c6a7f88d
commit bb228dbcfb
2 files changed
+15 -1

No files matched your search

+5 -1
View File
@@ -118,7 +118,11 @@ _QUERY_LABEL = """
_QUERY_MAX_MERGED_PR = """
{
repository(owner: "carbon-language", name: "carbon-lang") {
pullRequests(states: MERGED, first: 1) {
pullRequests(
states: MERGED
orderBy: {field: CREATED_AT, direction: DESC}
first: 1
) {
nodes {
number
}