-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d451d39
commit 7b9a575
Showing
1 changed file
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<p align="center"> | ||
<a href="https://gitmoji.dev"> | ||
<img src="https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg?style=flat-square" alt="Gitmoji"> | ||
</a> | ||
<a href="https://github.com/frinyvonnick/gitmoji-changelog"> | ||
<img src="https://img.shields.io/badge/gitmoji-Changelog-brightgreen.svg?style=flat-square" alt="gitmoji-changelog"> | ||
</a> | ||
</p> | ||
|
||
# Gitmoji Changelog Action | ||
|
||
An action for generate gitmoji changelog. | ||
|
||
<br /> | ||
|
||
# Usage | ||
|
||
See [action.yml](action.yml) | ||
|
||
```yaml | ||
name: "Generate Gitmoji Changelog" | ||
|
||
on: | ||
push: | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
generate-changelog: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: "actions/checkout@v3" | ||
with: | ||
fetch-depth: 0 # Required for fetch all history | ||
|
||
- name: "Generate Changelog" | ||
uses: sercanuste/gitmoji-changelog-action@v1 | ||
``` | ||
<br /> | ||
# Options | ||
| Option | Description | Required | Options | Default Value | | ||
| --------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------- | ----------------------------------------------------------- | -------------------------------------------------------- | | ||
| commit_message | The commit message to use when updating the changelog. | false | - | 📝 Update CHANGELOG | | ||
| format | Changelog file format | false | `markdown`<br />`json` | markdown | | ||
| preset | Preset for gitmoji-changelog. [Click for more info.](https://docs.gitmoji-changelog.dev/#/?id=%e2%9a%99%ef%b8%8f-presets) | false | `node`<br />`generic`<br />`maven`<br />`cargo`<br />`helm` | node | | ||
| group_similar_commits | [⚗️,- beta] Try to group similar commits. | false | `true`<br />`false` | false | | ||
| add_author | Add the author in changelog lines. | false | `true`<br />`false` | false | | ||
| author_email | Email address of commit author | false | - | 114694492+gitmoji-changelog-bot@users.noreply.github.com | | ||
| author_name | Name of commit author | false | - | Gitmoji Changelog Bot | | ||
|
||
<br /> | ||
|
||
# License | ||
|
||
The scripts and documentation in this project are released under the [MIT License](LICENSE) |