Skip to content

Commit 2682c6e

Browse files
committed
search comment more robust
Signed-off-by: Michele Dolfi <[email protected]>
1 parent 4e0243a commit 2682c6e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

.github/workflows/dco-advisor.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,7 @@ jobs:
4040
issue_number: prNumber
4141
});
4242
43-
const botUsername = (await github.rest.users.getAuthenticated()).data.login;
44-
4543
const existingComment = comments.find(c =>
46-
c.user.login === botUsername &&
4744
c.body.includes("<!-- dco-advice-bot -->")
4845
);
4946

0 commit comments

Comments
 (0)