Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
shpingalet007 committed Aug 1, 2023
1 parent 696de49 commit 5462fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function run() {
hasTrigger = regexTrigger.test(body);
}

if ((prefixOnly && !hasTrigger) || !hasTrigger) {
if (!hasTrigger) {
core.setOutput("triggered", "false");
return;
}
Expand Down

0 comments on commit 5462fd0

Please sign in to comment.