Pull request title checks are always case insensitive
RapGeneral opened this issue · 1 comments
RapGeneral commented
I have the following configuration:
mergeable:
- when: pull_request.*
validate:
- do: title
must_include:
regex: \[(Patch|Minor|Major|No-Version)\]
message: "Please ensure the title is prefixed with a SemVer identifier in PascalCase ([Major], [Minor], [Patch] or [No-Version])"
Expected: Only PRs which contains pascal case SemVer identifiers will pass
Actual: All casings pass.
I looks trough the docs and couldnt find any way to configure the casing.
RapGeneral commented
Looking trough the code it apperantly forces the i
regex flag (meaning case insensitive).
The solution is to add
regex_flag: "none"