Skip to content

Commit 950df3d

Browse files
authored
ci: temporarily disable assigning of issues to rekram1-node (anomalyco#14486)
1 parent 1d9f05e commit 950df3d

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

.opencode/tool/github-triage.ts

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@ import DESCRIPTION from "./github-triage.txt"
55
const TEAM = {
66
desktop: ["adamdotdevin", "iamdavidhill", "Brendonovich", "nexxeln"],
77
zen: ["fwang", "MrMushrooooom"],
8-
tui: ["thdxr", "kommander", "rekram1-node"],
9-
core: ["thdxr", "rekram1-node", "jlongster"],
8+
tui: [
9+
"thdxr",
10+
"kommander",
11+
// "rekram1-node" (on vacation)
12+
],
13+
core: [
14+
"thdxr",
15+
// "rekram1-node", (on vacation)
16+
"jlongster",
17+
],
1018
docs: ["R44VC0RP"],
1119
windows: ["Hona"],
1220
} as const
@@ -42,10 +50,7 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) {
4250
export default tool({
4351
description: DESCRIPTION,
4452
args: {
45-
assignee: tool.schema
46-
.enum(ASSIGNEES as [string, ...string[]])
47-
.describe("The username of the assignee")
48-
.default("rekram1-node"),
53+
assignee: tool.schema.enum(ASSIGNEES as [string, ...string[]]).describe("The username of the assignee"),
4954
labels: tool.schema
5055
.array(tool.schema.enum(["nix", "opentui", "perf", "web", "desktop", "zen", "docs", "windows", "core"]))
5156
.describe("The labels(s) to add to the issue")
@@ -68,7 +73,8 @@ export default tool({
6873
results.push("Dropped label: nix (issue does not mention nix)")
6974
}
7075

71-
const assignee = nix ? "rekram1-node" : web ? pick(TEAM.desktop) : args.assignee
76+
// const assignee = nix ? "rekram1-node" : web ? pick(TEAM.desktop) : args.assignee
77+
const assignee = web ? pick(TEAM.desktop) : args.assignee
7278

7379
if (labels.includes("zen") && !zen) {
7480
throw new Error("Only add the zen label when issue title/body contains 'zen'")

.opencode/tool/github-triage.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@ Choose labels and assignee using the current triage policy and ownership rules.
44
Pick the most fitting labels for the issue and assign one owner.
55

66
If unsure, choose the team/section with the most overlap with the issue and assign a member from that team at random.
7+
8+
(Note: rekram1-node is on vacation, do not assign issues to him.)

0 commit comments

Comments
 (0)