Skip to content

Commit

Permalink
upper or lower case is ok
Browse files Browse the repository at this point in the history
  • Loading branch information
Doarakko committed Aug 23, 2022
1 parent aa896b1 commit 7a6ccdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function run() {
const githubToken = getInput('github-token');
const octokit = new Octokit({ auth: githubToken });

if (!(context.payload.comment.body || '').match(/lgtm/)) {
if (!(context.payload.comment.body || '').toLowerCase().match(/lgtm/)) {
core.debug('nothing to do.');
return;
}
Expand Down

0 comments on commit 7a6ccdf

Please sign in to comment.