currently, whenever a "config diff tool output" comment is created it
also has the string `/config check ok` string in it. The next time the
test run it see's this text and assumes that the user has commented it.
We fix the logic to makes sure that we ignore such cases.
Signed-off-by: Naveen Naidu <naveennaidu479@gmail.com>
);
// Check if any comment contains `/config check ok`
- const configCheckOkComment = comments.find(comment => comment.body.includes("/config check ok"));
+ const configCheckOkComment = comments.find(
+ comment => comment.body.includes("/config check ok") && !comment.body.includes("### Config Diff Tool Output")
+ );
if (configCheckOkComment) {
core.info("Found '/config check ok' comment. Returning with success.");
return;