jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1070059?usp=email )
Change subject: pre-commit: add commit-message-validator
......................................................................
pre-commit: add commit-message-validator
Change-Id: Id64f1118411aec48de0039e99887e0639f646c18
---
M .pre-commit-config.yaml
1 file changed, 7 insertions(+), 0 deletions(-)
Approvals:
jenkins-bot: Verified
Xqt: Looks good to me, approved
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index ec95cbe..c981644 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -1,8 +1,15 @@
+default_install_hook_types:
+ - commit-msg
+ - pre-commit
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
+ - repo: https://gitlab.wikimedia.org/repos/ci-tools/commit-message-validator
+ rev: v2.1.0
+ hooks:
+ - id: commit-message-validator
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1070059?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Id64f1118411aec48de0039e99887e0639f646c18
Gerrit-Change-Number: 1070059
Gerrit-PatchSet: 1
Gerrit-Owner: JJMC89 <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]