Skip to content

Ignore Azure DevOps pull request merge commit message prefix when using cz_conventional_commits #908

@mateustanaka

Description

@mateustanaka

Description

We have automation using commitzen (cz_conventional_commits) on Azure DevOps but all the pull requests generate a merge commit message that starts with the prefix "Merged PR XXXX: "

image

I would like avoid to editing all the merge commit message, so would be great to have an option to customize commitzen and ignore this prefix for cz bump allowing commits message like this:

  • Merged PR 1234: feat: add new language
  • Merged PR 8462: feat(lang): add Polish language
  • Merged PR 1346: fix(file.json): adjust boolean property
  • Merged PR 4732: refactor: rename files
  • Merged PR 7689: feat(api)!: send an email to the customer when a product is shipped

Possible Solution

No response

Additional context

There is the customization parameter schema_pattern but I couldn't meet my needs. Does anyone know if it is possible to do what I want using this field? Otherwise, this new feature would be good.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions