We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056d0c1 commit 31f893fCopy full SHA for 31f893f
1 file changed
script/beta.ts
@@ -34,7 +34,7 @@ async function main() {
34
console.log("Fetching open PRs with beta label...")
35
36
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)
+ const prs: PR[] = JSON.parse(stdout).sort((a: PR, b: PR) => a.number - b.number)
38
39
console.log(`Found ${prs.length} open PRs with beta label`)
40
0 commit comments