You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First thing, commitizen builds the changelog with the information stored in git, so it doesn't know about GitHub users.
You would have to build a specialized GitHub-aware custom commiter, and publish it to pypi. In there you could make an API to Github call to get the user on each commit (even implement your own rules, like only show the user if it's a new feature). I haven't found an api call to get a range of commit, but if it's there, you could also do that. Commitizen class has support for a few different types of hooks for the changelog
thanks for the quick reply. Actually, and it's my fault for don't being clear, I'd like to have the user (mail and/or email) from the Signed-off-by of commit, to don't depend in the git provider
Activity
woile commentedon Oct 22, 2026
Hi there, it's not impossible, but it's not easy.
First thing, commitizen builds the changelog with the information stored in
git, so it doesn't know about GitHub users.You would have to build a specialized GitHub-aware custom commiter, and publish it to pypi. In there you could make an API to Github call to get the user on each commit (even implement your own rules, like only show the user if it's a new feature). I haven't found an api call to get a range of commit, but if it's there, you could also do that. Commitizen class has support for a few different types of hooks for the changelog
Example:
(If it's a private repo, you might need a github token, which wouldn't be a problem if you are running commitizen in your CI).
Something like this:
We have a very basic template to get started:
https://github.com/commitizen-tools/commitizen_cz_template
eamanu commentedon Oct 22, 2026
Hi!,
thanks for the quick reply. Actually, and it's my fault for don't being clear, I'd like to have the user (mail and/or email) from the Signed-off-by of commit, to don't depend in the git provider
woile commentedon Oct 22, 2026
That should make it easier then, because the
git.GitCommitwhere we get therefalso contains theauthorandauthor_email:https://github.com/commitizen-tools/commitizen/blob/master/commitizen/git.py#L73-L74
eamanu commentedon Oct 22, 2026
I push #2115 to show what's my idea