We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8964409 commit 60219c7Copy full SHA for 60219c7
src/schemas/github/issue-payload.ts
@@ -1,6 +1,9 @@
1
import { RepositoryWebhookPayload } from './repository-webhook-payload';
2
3
+type url = string;
4
+
5
export interface IssuePayload extends RepositoryWebhookPayload {
6
action: string;
7
assignee?: { login: string };
8
+ issue: { html_url: url };
9
}
test/builders/github/issue-payload-builder.ts
@@ -11,6 +11,7 @@ export class IssuePayloadBuilder {
11
},
12
sender: { login: internet.userName() },
13
assignee: { login: internet.userName() },
14
+ issue: { html_url: internet.url() },
15
};
16
17
public with(payload: Partial<IssuePayload>): IssuePayloadBuilder {
0 commit comments