defra/Generate Release Notes

Generate release notes from a template and git commit history using Nunjucks

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Maintainedlast commit Apr 28, 2025
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: defra/release-notes-action@5daed6359429ebddc7cf3e64a107272d8b7ecb5d # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
template-filePath to the Nunjucks template fileyes
output-filePath to output the generated release notesyes
release-versionRelease version numberyes
template-dataAdditional JSON object containing data to be passed to the templateno{}
base-branchBase branch to compare against (e.g., master or main)nomaster
release-branchRelease branch containing the changesyes
ticket-patternRegex pattern to extract ticket IDs from commit messages. Use a wider pattern like `[A-Z]+-[0-9]+.*` to include the commit message text.no[A-Z]+-[0-9]+
git-user-nameGit user name for the commitnoGitHub Action
git-user-emailGit user email for the commitnoaction@github.com

no outputs