-
-
Notifications
You must be signed in to change notification settings - Fork 104
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
With "COMMIT" mode the commit link is not displayed #1400
Comments
@MMarcus95 you can probably already achieve this as you can use the short hash in a URL. For example 4337894 or 4337894 |
The issue happens when generating the changelog automatically, because only the commit name is added, without URL. When using the "PR" more instead, you have the url added automatically. Should I use a specific configuration to have the commit url added when generating the changelog? |
Can you perhaps provide a more complete example. What configuration do you use? and which template is what you'd like to see different. For commit mode this is the default template: https://github.com/mikepenz/release-changelog-builder-action/blob/develop/src/configuration.ts#L109 |
And here are the placeholders you can use within a PR template: https://github.com/mikepenz/release-changelog-builder-action?tab=readme-ov-file#pr-template-placeholders |
Thanks for the links. I'm triggering the action each time I push on the main branch and I would like to add a ChangeLog file in the new release that is automatically generated by the push. So I would like to see a list of commits and PR between the latest tag (which always points to the latest commit that triggers the action) and the previous tag. I'm trying now to see the commits with their URL and I'm using the action as follows
|
I do believe that there is some miss-understanding on how the action works. While there is a However if in commit mode, the commit is not associated with a PR - which is also why you won't have a PR Number in commit mode - so you probably can't do the exact format you are looking for. You can for a single commit however get its SHA1 and look at that specific commits change. |
I’m sharing my configuration here, hoping it’s the right approach. Hopefully, it can be helpful to others as well:
|
Closing due to inactivity. Thanks @giacomocarrozzo for providing your configuration for others |
Hello,
thanks for this useful and rich tool!
I was trying to use the mode "COMMIT" but I found out that it is displayed only the name of the commit, without a reference to it.
Would it be possible to add also the link to the commit?
The text was updated successfully, but these errors were encountered: