mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 06:04:40 +00:00
fix: allow additional text after lgtm in approval comments
This commit is contained in:
parent
64a8b64b52
commit
97673461eb
1 changed files with 1 additions and 1 deletions
2
.github/workflows/approve-contributor.yml
vendored
2
.github/workflows/approve-contributor.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
|||
const commentBody = context.payload.comment.body || '';
|
||||
const approvedFile = '.github/APPROVED_CONTRIBUTORS';
|
||||
|
||||
if (!/^\s*lgtm\s*$/i.test(commentBody)) {
|
||||
if (!/^\s*lgtm\b/i.test(commentBody)) {
|
||||
console.log('Comment does not match lgtm');
|
||||
core.setOutput('status', 'skipped');
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue