mirror of
https://github.com/darksaid98/auto-changelog.git
synced 2026-12-04 06:28:52 +00:00
docs: Update README.md
This commit is contained in:
1 file changed
+36
-6
@@ -2,23 +2,53 @@
|
|||||||
|
|
||||||
Automatic Changelog generator
|
Automatic Changelog generator
|
||||||
|
|
||||||
## Inputs
|
##Usage
|
||||||
|
|
||||||
### `token`
|
To use this action, your commit messages have to follow the format below:
|
||||||
|
|
||||||
|
```git
|
||||||
|
type(category): description [flag]
|
||||||
|
```
|
||||||
|
|
||||||
|
The `type` must be one of the followings:
|
||||||
|
|
||||||
|
* `breaking`
|
||||||
|
* `build`
|
||||||
|
* `ci`
|
||||||
|
* `chore`
|
||||||
|
* `docs`
|
||||||
|
* `feat`
|
||||||
|
* `fix`
|
||||||
|
* `other`
|
||||||
|
* `perf`
|
||||||
|
* `refactor`
|
||||||
|
* `revert`
|
||||||
|
* `style`
|
||||||
|
* `test`
|
||||||
|
|
||||||
|
> If the `type` is not found in the list, it'll be considered as `other`.
|
||||||
|
|
||||||
|
The `category` is optional and can be anything of your choice.
|
||||||
|
|
||||||
|
The `flag` is optional (if provided, it must be surrounded in square brackets). (eg. `breaking`)
|
||||||
|
|
||||||
|
### Inputs
|
||||||
|
|
||||||
|
#### `token`
|
||||||
|
|
||||||
**Required** Github token.
|
**Required** Github token.
|
||||||
|
|
||||||
### `exclude`
|
#### `exclude`
|
||||||
|
|
||||||
Exclude selected commit types (comma separated).
|
Exclude selected commit types (comma separated).
|
||||||
|
|
||||||
## Outputs
|
### Outputs
|
||||||
|
|
||||||
### `changelog`
|
#### `changelog`
|
||||||
|
|
||||||
The generated changelog.
|
The generated changelog.
|
||||||
|
|
||||||
## Example usage
|
### Example usage
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
uses: ardalanamini/[email protected]
|
uses: ardalanamini/[email protected]
|
||||||
|
|||||||
Reference in new issue
Block a user