Skip to content

Allow changelog entry to be overridden by a PR section #647

Description

@szokeasaurusrex

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 foo function, and add unit tests to thoroughly check all edge cases.

Changelog Entry

Add a new function called foo which prints "Hello, world!"

Issues

Closes #XXX

The changelog entry would look like the following (in the "Features" section):

  • Add a new function called foo which prints "Hello, world!" (#YYY)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions