conventional-changelog-action/action.yml

56 lines
1.3 KiB
YAML

name: 'Conventional Changelog Action'
description: 'Bump version, tag commit and generates changelog with conventional commits.'
author: 'Tycho Bokdam'
runs:
using: 'node12'
main: 'src/index.js'
branding:
icon: 'edit'
color: 'red'
inputs:
github-token:
description: 'Github token'
required: true
git-message:
description: 'Commit message to use'
default: 'chore(release): {version}'
required: false
preset:
description: 'The preset from Conventional Changelog to use'
default: 'angular'
required: false
tag-prefix:
description: 'Prefix that is used for the git tag'
default: 'v'
required: false
output-file:
description: 'File to output the changelog to'
default: 'CHANGELOG.md'
required: false
release-count:
description: 'Number of releases to preserve in changelog'
default: '5'
required: false
package-json:
description: 'The path to the package.json to use'
default: './package.json'
required: false
outputs:
changelog:
description: 'The generated changelog for the new version'
clean_changelog:
description: 'The generated changelog for the new version without the version name in it'
version:
description: 'The new version'
tag:
description: 'The name of the generated tag'