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 ebc4466 commit 78adf2cCopy full SHA for 78adf2c
src/PayloadHelper.ts
@@ -21,6 +21,7 @@ export interface ITemplateVars {
21
diff_url: string;
22
patch_url: string;
23
issue_url: string;
24
+ branch: string;
25
};
26
labels: WebhookPayloadIssuesIssueLabelsItem[];
27
}
@@ -55,7 +56,8 @@ export class PayloadHelper implements IPayloadHelper {
55
56
diff_url: prPayload.pull_request.diff_url,
57
html_url: prPayload.pull_request.html_url,
58
issue_url: prPayload.pull_request.issue_url,
- patch_url: prPayload.pull_request.patch_url
59
+ patch_url: prPayload.pull_request.patch_url,
60
+ branch: prPayload.pull_request.head.ref
61
62
63
0 commit comments