Open lwbrooke opened 1 year ago
Internal ticket created : TS-580
If anyone else would run into this issue you can let your regex ignore casing with something like this. In my case i want it to start with Minor: or MAJOR: with any casing but you can modify according to your purpose.
- name: Git Version
id: version
uses: codacy/git-version@2.7.1
with:
release-branch: main
minor-identifier: /(?i)^minor:/
major-identifier: /(?i)^major:/
For both regex and plain string comparison, the commit messages are being downcased. This means that when overriding the major and minor identifiers, one cannot use uppercase identifiers, such as MAJOR and MINOR.
As far as I can tell, this is not documented behavior.