From 7aa83f8585a96cb1694faff5e9fc5c1565ef9290 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 31 Mar 2026 09:31:42 +0200 Subject: [PATCH] github: accept any Signed-off-by tag (case insensitive) Signed-off-by: Jaroslav Kysela --- .github/workflows/reusable-sob-validator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-sob-validator.yml b/.github/workflows/reusable-sob-validator.yml index ec65031..d115be3 100644 --- a/.github/workflows/reusable-sob-validator.yml +++ b/.github/workflows/reusable-sob-validator.yml @@ -105,8 +105,8 @@ jobs: const authorEmail = commit.commit.author.email; const committerEmail = commit.commit.committer.email; - // Find all Signed-off-by lines - const sobPattern = /^Signed-off-by:\s+(.+)\s+<(.+)>$/gm; + // Find all Signed-off-by lines (case-insensitive) + const sobPattern = /^Signed-off-by:\s+(.+)\s+<(.+)>$/gim; const sobMatches = [...message.matchAll(sobPattern)]; if (sobMatches.length === 0) { -- 2.52.0