Open GabrieleCalarota opened 2 years ago
This line of code should be like this:
const prefixOnly = core.getInput("prefix_only") === 'true';
if ((prefixOnly && !body.startsWith(trigger)) || (!prefixOnly && !body.includes(trigger))) {
core.setOutput("triggered", "false");
return;
}
Any update on this @jaredly ?
Hi,
I'm encountering this issue using this action khan/pull-request-comment-trigger@master using:
Action gets triggered also if "!deploy" is in the middle of a comment (not according to README.md docs)
Also --> trying to get steps.check.outputs.comment_body is empty