ci: centralize team list in @opencode-ai/script package and use beta label filter

This commit is contained in:
Dax Raad
2026-02-01 20:17:15 -05:00
parent 7837bbc639
commit f390ac251d
3 changed files with 24 additions and 37 deletions

View File

@@ -46,6 +46,20 @@ const VERSION = await (async () => {
return `${major}.${minor}.${patch + 1}`
})()
const team = [
"actions-user",
"opencode",
"rekram1-node",
"thdxr",
"kommander",
"jayair",
"fwang",
"adamdotdevin",
"iamdavidhill",
"opencode-agent[bot]",
"R44VC0RP",
]
export const Script = {
get channel() {
return CHANNEL
@@ -59,5 +73,8 @@ export const Script = {
get release() {
return env.OPENCODE_RELEASE
},
get team() {
return team
},
}
console.log(`opencode script`, JSON.stringify(Script, null, 2))