]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
github: accept any Signed-off-by tag (case insensitive)
authorJaroslav Kysela <perex@perex.cz>
Tue, 31 Mar 2026 07:31:42 +0000 (09:31 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 31 Mar 2026 07:31:42 +0000 (09:31 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
.github/workflows/reusable-sob-validator.yml

index ec65031d465c4d45d78311ef5693b5f6c528a4e4..d115be30a51b325ea4a8b0a0c179e782944a5e59 100644 (file)
@@ -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) {