feat: allow custom changelog sections #1175
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for customizing changelog sections at the workflow level in the
release-please-action, allowing users to override changelog formatting for all packages directly from the workflow file. It introduces a newchangelog-sectionsinput, updates documentation and action metadata, and ensures that these overrides are applied consistently. The changes are covered by new and updated tests.Changelog customization support:
changelog-sectionsinput to the action (action.yml,README.md). This input allows users to specify a JSON array of changelog section configurations, overriding settings from the config file for all packages. [1] [2] [3]changelog-sectionsinput, including examples and descriptions in the input table. [1] [2]Implementation in action logic:
changelog-sectionsinput and passed it through the action's logic, ensuring it is applied to all repository configs in the manifest, both when building from config and when loading an existing manifest. [1] [2] [3] [4] [5] [6]Testing improvements:
changelog-sectionscan be specified, is parsed correctly, and is applied to all repository configs, both with and without a release type. [1] [2]