From b161b11f45815749228a2ee5fb55e409b89f1aa0 Mon Sep 17 00:00:00 2001 From: Wu Zhenyu Date: Sun, 5 Mar 2023 00:52:54 +0800 Subject: [PATCH] :sparkles: Support pre-commit Fix #261 --- .pre-commit-hooks.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .pre-commit-hooks.yaml diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml new file mode 100644 index 0000000..3a6001b --- /dev/null +++ b/.pre-commit-hooks.yaml @@ -0,0 +1,9 @@ +--- +- id: gitmoji-changelog + name: gitmoji-changelog + description: > + Generate changelog for repositories using gitmoji commits convention. + language: node + entry: gitmoji-changelog + always_run: true + pass_filenames: false