From 389612f972c49fab8639b5fa3a0ca2919f1ca004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sat, 17 Dec 2022 20:10:57 +0200 Subject: [PATCH] feat: Improve (/limit) default set of stages to run pre-commit hook in https://pre-commit.com/#confining-hooks-to-run-at-certain-stages --- .pre-commit-hooks.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index e34646d..c145db7 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,6 +5,7 @@ entry: typos args: [--write-changes] types: [text] + stages: [commit, merge-commit, push, manual] - id: typos-src name: typos @@ -13,3 +14,4 @@ entry: typos args: [--write-changes] types: [text] + stages: [commit, merge-commit, push, manual]