Create a new release with generated release notes
| action.yml | ||
| README.md | ||
| release-notes.config.js | ||
Release · Create
A small Action that generates release notes from conventional commits and publishes a Forgejo release.
What it does
- Generates release notes using
conventional-changelog(configured viarelease-notes.config.js). - Publishes a release using
actions/forgejo-release, uploading the generated notes and tagging the release.
Inputs
version(required) — Release version (e.g.v1.2.3). Could be determined with the Release · Determine Next Version action.
Note: The action uses
${{ secrets.GITHUB_TOKEN }}when publishing viaactions/forgejo-release.
Usage
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: "Determine release version"
id: "version"
uses: "https://git.xiidoz.com/actions/release-determine-next-version@main"
- name: "Create release"
uses: "https://git.xiidoz.com/actions/release-create@main"
with:
version: "${{ steps.version.outputs.version }}"
For customization, edit release-notes.config.js to change changelog formatting or presets.