ci: add OSS contributor detection pr label

This commit is contained in:
Goni Zahavy
2026-01-31 21:50:58 +02:00
parent d1d7447493
commit f4972a2d0c
2 changed files with 82 additions and 8 deletions

View File

@@ -14,7 +14,8 @@ interface RunResult {
async function main() {
console.log("Fetching open contributor PRs...")
const prsResult = await $`gh pr list --label contributor --state open --json number,title --limit 100`.nothrow()
const prsResult =
await $`gh pr list --label opencode-contributor --state open --json number,title --limit 100`.nothrow()
if (prsResult.exitCode !== 0) {
throw new Error(`Failed to fetch PRs: ${prsResult.stderr}`)
}