mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 02:18:29 +00:00
ci: sort beta PRs by number for consistent display order
This commit is contained in:
parent
056d0c1197
commit
31f893f8cb
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ async function main() {
|
|||
console.log("Fetching open PRs with beta label...")
|
||||
|
||||
const stdout = await $`gh pr list --state open --label beta --json number,title,author,labels --limit 100`.text()
|
||||
const prs: PR[] = JSON.parse(stdout)
|
||||
const prs: PR[] = JSON.parse(stdout).sort((a: PR, b: PR) => a.number - b.number)
|
||||
|
||||
console.log(`Found ${prs.length} open PRs with beta label`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue