release-flow/Keep-a-Changelog Action

Performs operations on changelogs that are in Keep-a-Changelog format: bump the version, query release info.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commandThe command to perform: 'bump' or 'query'.yes
changelogThe path to the changelog. If a relative path is specified, it is appended to the GitHub workspace path.noCHANGELOG.md
versionThe release version. When bumping, determines the next version number. When querying, indicates the version for which to extract the release information. See readme for a full description and a list of special values.yes
preidThe "prerelease identifier" to use as a prefix for the "prerelease" part of a semver. For example, it would specify the 'beta' in '1.0.0-beta.1'.no
release-dateWhen bumping, indicates the release date that is written into the changelog for the new release, in ISO 8601 format, e.g. 2022-03-03. Defaults to the current system date.no
tag-prefixWhen bumping, specifies the prefix that is applied to the release number to generate the release tag.nov
output-fileWhen bumping, specifies the name of the modified changelog file relative to the input changelog directory. If not specified, the input changelog is overwritten.no
keep-unreleased-sectionWhen bumping, keeps an empty 'Unreleased' section in the output changelog after bumping the input changelog's 'Unreleased' section.nofalse
fail-on-empty-release-notesWhen bumping, if this input is true then the action will report an error if it detects an empty 'Unreleased' section in the input changelog.nofalse
namedescription
versionWhen bumping, contains the release version that was used to update the changelog. When querying, contains the release version that was matched.
release-notesThe markdown content of the changelog section for the release.
release-dateThe release date in the form yyyy-MM-dd, or blank if the matched version was '[unreleased]'.
release-suffixThe final part of the release heading, after the version and date have been parsed. For example, if the release heading is '## [0.0.5] - 2014-12-13 [YANKED]', this output would contain '[YANKED]'.