frinyvonnick / gitmoji-changelog

A changelog generator for gitmoji 😜
https://www.npmjs.com/package/gitmoji-changelog
MIT License
388 stars 49 forks source link

[feature] pre-commit #261

Open Freed-Wu opened 1 year ago

Freed-Wu commented 1 year ago

Can add a .pre-commit-hooks.yaml in this project?

-   id: gitmoji-changelog
    name: gitmoji-changelog
    description: 'XXX'
    entry: gitmoji-changelog
    language: node
    'types': [markdown]
    args: []
    require_serial: false
    minimum_pre_commit_version: '0'

It will allow users when they git commit, gitmoji-changelog will be executed automatically if https://github.com/pre-commit/pre-commit is installed. TIA!