ci/github-script/merge: ignore case when checking for merge bot comment

This commit is contained in:
Michael Daniels 2026-06-06 14:11:37 -04:00
commit 41876c6de2
No known key found for this signature in database

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 }) {