-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Problem
Currently, the changelog entry is generated from the PR title.
However, I often want the changelog entry to be different, typically more detailed and more user-facing. In order to do this nowadays, I need to disable changelog generation via Craft and write the changelings manually.
Solution
I would propose we allow users to add a section to their PRs titled "Changelog Entry". If this section is present, the changelog entry would be generated directly from the text in this section, rather than using the title.
Example
Given PR Title "feat: Add foo function" and description:
Description
Add
foofunction, and add unit tests to thoroughly check all edge cases.Changelog Entry
Add a new function called
foowhich prints "Hello, world!"Issues
Closes #XXX
The changelog entry would look like the following (in the "Features" section):
- Add a new function called
foowhich prints "Hello, world!" (#YYY)