Skip to content

Commit 426325f

Browse files
authored
fix(workflows): replace invalid trim() in LGTM matcher [DOPS-600] (#2)
1 parent e0edc2e commit 426325f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/merge-on-green.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
(
2222
github.event_name == 'issue_comment' &&
2323
github.event.issue.pull_request &&
24-
contains(fromJSON('["LGTM","lgtm","Lgtm"]'), trim(github.event.comment.body))
24+
(contains(github.event.comment.body, 'LGTM') || contains(github.event.comment.body, 'lgtm'))
2525
) ||
2626
(
2727
github.event_name == 'pull_request_review' &&

0 commit comments

Comments
 (0)