Files
auto-changelog/action.yml
T
Ardalan Amini bd78d66436 feat: Add semantic versioning compatibility (#47)
* feat: Use regex groups

* feat: Add semver input

* deps: Add semver v7.3.7

* deps(Dev): Add @types/semver v7.3.9

* feat: Add prerelease output

* chore: Update action directory

* feat: Log prerelease value

* ci(GitHub): Update release workflow

* docs: Update README.md

* feat: Add ability to detect previous version based on semver comparison

* ci(GitHub): fix test workflow
2022-04-29 00:06:26 +04:30

58 lines
1.2 KiB
YAML

name: Auto Changelog
description: Automatic Changelog generator
author: Ardalan Amini
branding:
icon: clock
color: blue
inputs:
github-token:
description: Github token
required: true
default: ${{ github.token }}
commit-types:
description: Commit types
required: true
default: |
breaking: Breaking Changes
feat: New Features
fix: Bug Fixes
revert: Reverts
perf: Performance Improvements
refactor: Refactors
deps: Dependencies
docs: Documentation Changes
style: Code Style Changes
build: Build System
ci: Continuous Integration
test: Tests
chore: Chores
other: Other Changes
default-commit-type:
description: Default commit type to be used when the commit message matches none of the defined types
required: true
default: Other Changes
semver:
description: Enable semver based version comparison
required: true
default: 'true'
outputs:
changelog:
description: The generated changelogs
prerelease:
description: Indicates whether it's a pre-release or not (if semver is set to true, otherwise this output will always return false)
runs:
using: node16
main: action/index.js