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 2a332df commit 710d68bCopy full SHA for 710d68b
src/notifications.ts
@@ -36,7 +36,8 @@ export const createRun = async (
36
};
37
38
const commentLocator = (label?: string): string => {
39
- return `<!-- Diff Action / Pull Request Comment / ${label ?? ''} -->\n`;
+ return `<!-- Diff Action / Pull Request Comment / ${label ?? ''} -->
40
+`;
41
42
43
const commentBody = (label: string | undefined, result: Result): string => {
@@ -91,7 +92,6 @@ const findComment = async (
91
92
issue_number: context.issue.number,
93
})) {
94
for (const comment of entry.data) {
- console.log('USER', comment.user, viewer.login);
95
if (comment.body?.startsWith(locator) && comment.user?.login === viewer.login) {
96
return comment.id;
97
}
0 commit comments