docs: Updated README
parent
a860a263fa
commit
80757c3a5c
27
README.md
27
README.md
|
@ -4,28 +4,15 @@ This action will bump version, tag commit and generate a changelog with conventi
|
||||||
|
|
||||||
## Inputs
|
## Inputs
|
||||||
|
|
||||||
### `github-token`
|
-**Required** `github-token`: Github token.
|
||||||
|
-**Optional** `git-message`: Commit message that is used when committing the changelog.
|
||||||
**Required** Github token.
|
-**Optional** `preset`: Preset that is used from conventional commits. Default `angular`.
|
||||||
|
-**Optional** `tag-prefix`: Prefix for the git tags. Default `v`.
|
||||||
### `git-message`
|
-**Optional** `output-file`: File to output the changelog to. Default `CHANGELOG.md`.
|
||||||
|
|
||||||
**Optional** Commit message that is used when committing the changelog.
|
|
||||||
|
|
||||||
### `preset`
|
|
||||||
|
|
||||||
**Optional** Preset that is used from conventional commits. Default `angular`.
|
|
||||||
|
|
||||||
### `tag-prefix`
|
|
||||||
|
|
||||||
**Optional** Prefix for the git tags. Default `v`.
|
|
||||||
|
|
||||||
### `output-file`
|
|
||||||
|
|
||||||
**Optional** File to output the changelog to. Default `CHANGELOG.md`.
|
|
||||||
|
|
||||||
## Example usage
|
## Example usage
|
||||||
|
|
||||||
|
```yaml
|
||||||
- name: Conventional Changelog Action
|
- name: Conventional Changelog Action
|
||||||
uses: TriPSs/conventional-changelog-action@v0.0.1
|
uses: TriPSs/conventional-changelog-action@v0.0.1
|
||||||
with:
|
with:
|
||||||
|
@ -34,3 +21,5 @@ This action will bump version, tag commit and generate a changelog with conventi
|
||||||
preset: 'angular'
|
preset: 'angular'
|
||||||
tag-prefix: 'v'
|
tag-prefix: 'v'
|
||||||
output-file: 'CHANGELOG.md'
|
output-file: 'CHANGELOG.md'
|
||||||
|
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue