-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to prevent a section to be createad in the changelog? #244
Comments
Hi @gleisonkz. It's possible with custom group mapping. 'useless' group is filtered out before creating the changelog. gitmoji-changelog/packages/gitmoji-changelog-core/src/index.js Lines 48 to 51 in 584d065
You need to create .gitmoji-changelogrc like following. When you change mapping, you need to remove old one. {
"commitMapping": [
{
"group": "changed",
"label": "Changed",
"emojis": [
"art",
"zap",
- "lipstick",
"rotating_light",
"arrow_down",
"arrow_up",
"pushpin",
"recycle",
"wrench",
"rewind",
"alien",
"truck",
"bento",
"wheelchair",
"speech_balloon",
"card_file_box",
"children_crossing",
"building_construction",
"iphone"
]
},
{
"group": "useless",
"label": "Useless",
"emojis": [
"bookmark",
+ "lipstick"
]
}
]
} Default mapping is at https://github.com/frinyvonnick/gitmoji-changelog/blob/master/packages/gitmoji-changelog-core/src/groupMapping.js |
By the way, I developed a filter for skipping changelog. You can use it with [skip cl] and [skip changelog] keywords after PR #251 merged. You need to create .gitmoji-changelogrc like following. {
+ "useSkipChangelog": true
} And you can commit like following. ✨ Upgrade brand new feature [skip changelog] |
Hy everybody, is there a way I can prevent the misc group section to be created ?
I tried to limit the emoji list on .gitmoji-changelogrc but it seems not to have any effect.
The text was updated successfully, but these errors were encountered: