We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1972b06 commit 8714b49Copy full SHA for 8714b49
index.js
@@ -17,7 +17,7 @@ async function run() {
17
// Merge if they say they have access
18
if (context.eventName === "issue_comment" || context.eventName === "pull_request_review") {
19
const bodyLower = getPayloadBody().toLowerCase();
20
- if (bodyLower.includes("lgtm")) {
+ if (bodyLower.includes("lgtm") && !bodyLower.includes("lgtm but")) {
21
new Actor().mergeIfHasAccess();
22
} else if (bodyLower.includes("@github-actions close")) {
23
new Actor().closePROrIssueIfInCodeowners();
0 commit comments