mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ci/github-script/merge: ignore case when checking for merge bot comment
This commit is contained in:
parent
78fd41bbcb
commit
41876c6de2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue