diff options
| author | Dax Raad <[email protected]> | 2026-02-09 18:00:44 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-02-09 18:00:44 -0500 |
| commit | 31f893f8cb7cbec11ae743b4ead806c201a396b7 (patch) | |
| tree | e79942825be4fd84a7ef0fc309f3a21b5fd332a5 | |
| parent | 056d0c1197c693835cc398f141b5270893139195 (diff) | |
| download | opencode-31f893f8cb7cbec11ae743b4ead806c201a396b7.tar.gz opencode-31f893f8cb7cbec11ae743b4ead806c201a396b7.zip | |
ci: sort beta PRs by number for consistent display order
| -rwxr-xr-x | script/beta.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/beta.ts b/script/beta.ts index 4355c5879..b5f1c3e1e 100755 --- a/script/beta.ts +++ b/script/beta.ts @@ -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`) |
