Automated Semantic Versioning for GitHub Actions
Conventional Commits-driven versioning with zero dependencies. Pure bash, works on GitHub.com and GitHub Enterprise Server.
Features
- Auto-detects version file format (JSON, TOML, YAML, plain text)
- RC pre-releases on staging, final releases on production
- Categorized changelogs (Breaking/Features/Fixes/Maintenance)
- Floating tags (
v1,v1.5) for Actions consumed via@v1 - Single-branch and two-branch workflows
- GHES compatible
Quick Start
- uses: lucaspretti/auto-version-action@v1
with:
version-file: VERSION
github-token: ${{ secrets.GITHUB_TOKEN }}See README for full documentation.