-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
How to add link issue on changelog? #555
Comments
You can check the documentation here. https://commitizen-tools.github.io/commitizen/customization/#custom-changelog-generator. You'll probably need to change the def changelog_hook(self, full_changelog: str, partial_changelog: Optional[str]) -> str:
"""Executed at the end of the changelog generation
full_changelog: it's the output about to being written into the file
partial_changelog: it's the new stuff, this is useful to send slack messages or
similar
Return:
the new updated full_changelog
"""
if partial_changelog:
chat.room("#committers").notify(partial_changelog)
if full_changelog:
compliance.send(full_changelog)
full_changelog.replace(' fix ', ' **fix** ')
return full_changelog |
In my local it's not possible because of dependency conflict on module chat (and this module is very big) So my hope is from github/gitlab cicd. I hope the default of cicd is creating a link to issue(s). |
Do you mean the |
Since Feel free to open a new issue |
Description
if my commit message is
feat: add feat #1
in CHANGELOG.md it doesn't linked to the issue.
how to add link issue to
#1
automaticaly with (eg)cz ch
?I have search #396 but I can't understand how to do it.
Possible Solution
No response
Additional context
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: