GeezerVison is showing github.com — chore: rekram1-node is no longer on vacation (#16905) · nathanhinish/opencode@ad08fd5
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .opencode/tool/github-triage.ts +7-13Lines changed: 7 additions & 13 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -5,16 +5,8 @@ import DESCRIPTION from "./github-triage.txt" | 5 | 5 | const TEAM = { | 6 | 6 | desktop: ["adamdotdevin", "iamdavidhill", "Brendonovich", "nexxeln"], | 7 | 7 | zen: ["fwang", "MrMushrooooom"], | 8 | | - tui: [ | 9 | | - "thdxr", | 10 | | - "kommander", | 11 | | - // "rekram1-node" (on vacation) | 12 | | - ], | 13 | | - core: [ | 14 | | - "thdxr", | 15 | | - // "rekram1-node", (on vacation) | 16 | | - "jlongster", | 17 | | - ], | | 8 | + tui: ["thdxr", "kommander", "rekram1-node"], | | 9 | + core: ["thdxr", "rekram1-node", "jlongster"], | 18 | 10 | docs: ["R44VC0RP"], | 19 | 11 | windows: ["Hona"], | 20 | 12 | } as const | @@ -50,7 +42,10 @@ async function githubFetch(endpoint: string, options: RequestInit = {}) { | 50 | 42 | export default tool({ | 51 | 43 | description: DESCRIPTION, | 52 | 44 | args: { | 53 | | - assignee: tool.schema.enum(ASSIGNEES as [string, ...string[]]).describe("The username of the assignee"), | | 45 | + assignee: tool.schema | | 46 | + .enum(ASSIGNEES as [string, ...string[]]) | | 47 | + .describe("The username of the assignee") | | 48 | + .default("rekram1-node"), | 54 | 49 | labels: tool.schema | 55 | 50 | .array(tool.schema.enum(["nix", "opentui", "perf", "web", "desktop", "zen", "docs", "windows", "core"])) | 56 | 51 | .describe("The labels(s) to add to the issue") | @@ -73,8 +68,7 @@ export default tool({ | 73 | 68 | results.push("Dropped label: nix (issue does not mention nix)") | 74 | 69 | } | 75 | 70 |
| 76 | | - // const assignee = nix ? "rekram1-node" : web ? pick(TEAM.desktop) : args.assignee | 77 | | - const assignee = web ? pick(TEAM.desktop) : args.assignee | | 71 | + const assignee = nix ? "rekram1-node" : web ? pick(TEAM.desktop) : args.assignee | 78 | 72 |
| 79 | 73 | if (labels.includes("zen") && !zen) { | 80 | 74 | throw new Error("Only add the zen label when issue title/body contains 'zen'") | |
Collapse file Copy file name to clipboardExpand all lines: .opencode/tool/github-triage.txt -2Lines changed: 0 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -4,5 +4,3 @@ Choose labels and assignee using the current triage policy and ownership rules. | 4 | 4 | Pick the most fitting labels for the issue and assign one owner. | 5 | 5 |
| 6 | 6 | 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.) |
|