0.1.1 • Published 3 years ago

ghactions-next-change v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Next Change

Parse and update CHANGELOG.md action

Usage

Pre-requisites

Create a workflow .yml file in your repositories .github/workflows directory. Check Examples below. For more information, reference the GitHub Help Documentation for Creating a workflow file.

Inputs

NameDefaultDescription
path"./CHANGELOG.md"Path to CHANGELOG.md file
release""Get or create a release to edit, set it as target
clearfalseDelete everything from target release notes if it exists and not empty
get""Replace target release notes with notes of release provided here, e.g. Undefined
set""Fully replace target release notes with parameter value
append""Append new lines to target release notes from parameter value
suffix""Add suffix to each section of append notes, good for pasting a link to PR
savetrueWhether to save changes back to CHANGELOG.md path
sanitizefalseKeep only Keep a Changelog sections in target release notes
encoding"utf-8"Encoding for CHANGELOG.md

Outputs

NameExampleDescription
result"### Added ..."Target Release notes
label"minor"Release label based on release notes: major, minor, or patch
titles"added,removed,fixed"Comma-separated Keep a Changelog titles from release notes

Examples

Easy CI/CD for JavaScript/TypeScript and Python projects

https://github.com/vemel/github_actions_js/

Contributing

I would love for you to contribute to actions/nextchange, pull requests are welcome! Please see the CONTRIBUTING.md for more information.

License

The scripts and documentation in this project are released under the MIT License