terse-types 0.0.43 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -168,7 +168,12 @@ function formatGithubTrigger(event) {
|
|
|
168
168
|
const c = event.comment;
|
|
169
169
|
const target = event.issue;
|
|
170
170
|
const kind = target.isPullRequest ? "Pull Request" : "Issue";
|
|
171
|
-
const targetLines = [
|
|
171
|
+
const targetLines = [
|
|
172
|
+
`${kind} #${target.number}: ${target.title}`,
|
|
173
|
+
`State: ${target.state}`,
|
|
174
|
+
`Author: ${target.author.login}${target.author.email ? ` (${target.author.email})` : ""}`,
|
|
175
|
+
`View: ${target.url}`
|
|
176
|
+
];
|
|
172
177
|
if (target.body) {
|
|
173
178
|
targetLines.push(`\nDescription:\n${indentMultiline(target.body)}`);
|
|
174
179
|
}
|