diff options
| author | Dax Raad <[email protected]> | 2026-03-10 14:08:55 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-03-10 14:08:55 -0400 |
| commit | 1fe8d4d7ad32fecd40609140c0c7ff53016d8ddd (patch) | |
| tree | 5a7c6710034ce8ef22c900854a63425a863f7fb0 /script | |
| parent | e44320980d6ede1313fce74d6ff8d8b439f61fb1 (diff) | |
| download | opencode-1fe8d4d7ad32fecd40609140c0c7ff53016d8ddd.tar.gz opencode-1fe8d4d7ad32fecd40609140c0c7ff53016d8ddd.zip | |
ci: exclude draft PRs from beta labeling process to prevent unfinished work from being included in releases
Diffstat (limited to 'script')
| -rwxr-xr-x | script/beta.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/beta.ts b/script/beta.ts index b0e6c2dcc..61f9cf862 100755 --- a/script/beta.ts +++ b/script/beta.ts @@ -79,7 +79,8 @@ async function fix(pr: PR, files: string[]) { 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 stdout = + await $`gh pr list --state open --draft=false --label beta --json number,title,author,labels --limit 100`.text() 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`) |
