Skip to content

Commit 5462fd0

Browse files
committed
Fix condition
Khan#46 (comment)
1 parent 696de49 commit 5462fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function run() {
5252
hasTrigger = regexTrigger.test(body);
5353
}
5454

55-
if ((prefixOnly && !hasTrigger) || !hasTrigger) {
55+
if (!hasTrigger) {
5656
core.setOutput("triggered", "false");
5757
return;
5858
}

0 commit comments

Comments
 (0)