chore(script): source team members from TEAM_MEMBERS (#15369)

This commit is contained in:
Kit Langton
2026-02-27 09:43:51 -05:00
committed by GitHub
parent 3dc10a1c16
commit 78cea89e0e

View File

@@ -46,23 +46,14 @@ const VERSION = await (async () => {
return `${major}.${minor}.${patch + 1}`
})()
const bot = ["actions-user", "opencode", "opencode-agent[bot]"]
const teamPath = path.resolve(import.meta.dir, "../../../.github/TEAM_MEMBERS")
const team = [
"actions-user",
"opencode",
"rekram1-node",
"thdxr",
"kommander",
"jayair",
"fwang",
"MrMushrooooom",
"adamdotdevin",
"iamdavidhill",
"Brendonovich",
"nexxeln",
"Hona",
"jlongster",
"opencode-agent[bot]",
"R44VC0RP",
...(await Bun.file(teamPath)
.text()
.then((x) => x.split(/\r?\n/).map((x) => x.trim()))
.then((x) => x.filter((x) => x && !x.startsWith("#")))),
...bot,
]
export const Script = {