MCPcopy Create free account
hub / github.com/coleam00/remote-agentic-coding-system / WebhookEvent

Interface WebhookEvent

src/adapters/github.ts:19–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17const execAsync = promisify(exec);
18
19interface WebhookEvent {
20 action: string;
21 issue?: {
22 number: number;
23 title: string;
24 body: string | null;
25 user: { login: string };
26 labels: { name: string }[];
27 state: string;
28 };
29 pull_request?: {
30 number: number;
31 title: string;
32 body: string | null;
33 user: { login: string };
34 state: string;
35 changed_files?: number;
36 additions?: number;
37 deletions?: number;
38 };
39 comment?: {
40 body: string;
41 user: { login: string };
42 };
43 repository: {
44 owner: { login: string };
45 name: string;
46 full_name: string;
47 html_url: string;
48 default_branch: string;
49 };
50 sender: { login: string };
51}
52
53export class GitHubAdapter implements IPlatformAdapter {
54 private octokit: Octokit;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected