Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TS-580] Commit messages being downcased before comparison #88

Open
lwbrooke opened this issue Sep 13, 2023 · 2 comments
Open

[TS-580] Commit messages being downcased before comparison #88

lwbrooke opened this issue Sep 13, 2023 · 2 comments
Labels
jira-issue Issue tracked on JIRA

Comments

@lwbrooke
Copy link

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.

@github-actions github-actions bot added the jira-issue Issue tracked on JIRA label Sep 13, 2023
@github-actions github-actions bot changed the title Commit messages being downcased before comparison [TS-580] Commit messages being downcased before comparison Sep 13, 2023
@github-actions
Copy link

Internal ticket created : TS-580

@msfe
Copy link

msfe commented Aug 9, 2024

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/[email protected]
        with:
          release-branch: main
          minor-identifier: /(?i)^minor:/
          major-identifier: /(?i)^major:/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira-issue Issue tracked on JIRA
Projects
None yet
Development

No branches or pull requests

2 participants