Skip to content
This repository was archived by the owner on Feb 19, 2026. It is now read-only.

Commit 31f893f

Browse files
committed
ci: sort beta PRs by number for consistent display order
1 parent 056d0c1 commit 31f893f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/beta.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function main() {
3434
console.log("Fetching open PRs with beta label...")
3535

3636
const stdout = await $`gh pr list --state open --label beta --json number,title,author,labels --limit 100`.text()
37-
const prs: PR[] = JSON.parse(stdout)
37+
const prs: PR[] = JSON.parse(stdout).sort((a: PR, b: PR) => a.number - b.number)
3838

3939
console.log(`Found ${prs.length} open PRs with beta label`)
4040

0 commit comments

Comments
 (0)