summaryrefslogtreecommitdiffhomepage
path: root/script
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-03-10 14:08:55 -0400
committerDax Raad <[email protected]>2026-03-10 14:08:55 -0400
commit1fe8d4d7ad32fecd40609140c0c7ff53016d8ddd (patch)
tree5a7c6710034ce8ef22c900854a63425a863f7fb0 /script
parente44320980d6ede1313fce74d6ff8d8b439f61fb1 (diff)
downloadopencode-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-xscript/beta.ts3
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`)