ci/github-script/merge: ignore case when checking for merge bot comment (#528891)

This commit is contained in:
Matt Sturgeon
2026-06-06 19:15:15 +00:00
committed by GitHub
+1 -1
View File
@@ -97,7 +97,7 @@ function hasMergeCommand(body) {
return (body ?? '')
.replace(/<!--.*?-->/gms, '')
.replace(/(^`{3,})[^`].*?\1/gms, '')
.match(/^@NixOS\/nixpkgs-merge-bot merge\s*$/m)
.match(/^@NixOS\/nixpkgs-merge-bot merge\s*$/im)
}
async function handleMergeComment({ github, body, node_id, reaction }) {