From 97673461eb2cdf80618a8905ae1751e48c5fe929 Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Sun, 18 Jan 2026 13:06:55 +0100 Subject: [PATCH] fix: allow additional text after lgtm in approval comments --- .github/workflows/approve-contributor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/approve-contributor.yml b/.github/workflows/approve-contributor.yml index 570061e6..23d31785 100644 --- a/.github/workflows/approve-contributor.yml +++ b/.github/workflows/approve-contributor.yml @@ -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;