A GitHub Action for generating a "recent changes" file from a larger manually-curated changelog
The action expects to be provided with a markdown file. It will extract the first ##
subheading and all lines between it and the next ##
subheading or the end of the file. These lines will be written as-is to the provided output file.
Coincidentally, this will work with the keepachangelog format. It doesn't require that your changelog be compliant with the full specification, however.
- uses: kemayo/actions-recent-changelog@v1
with:
input: CHANGELOG.md
output: RECENT_CHANGES.md