Files
auto-changelog/action.yml
T
Ardalan Amini ea01804ccf feat: Add commit-types & default-commit-type inputs (#15)
* deps: Add `yaml` version `1.10.2`

* deps: Add `joi` version `17.6.0`

* feat: Add `commit-types` & `default-commit-type` inputs

* ci: Update `Test` workflow

* chore: Update `README.md`
2022-03-04 14:17:53 +03:30

50 lines
1003 B
YAML

name: 'Auto Changelog'
description: 'Automatic Changelog generator'
author: 'Ardalan Amini'
branding:
icon: 'clock'
color: 'blue'
inputs:
token:
description: 'Github token'
required: true
default: ${{ github.token }}
commit-types:
description: 'Commit types'
required: false
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: false
default: 'Other Changes'
outputs:
changelog:
description: 'The generated changelogs'
runs:
using: 'node16'
main: 'action/index.js'