mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-06-29 06:00:45 +00:00
Add check-dco hook: verify commit message Signed-off-by
This commit is contained in:
parent
fa6b006f0e
commit
e31319b3e3
3 changed files with 319 additions and 0 deletions
|
|
@ -210,3 +210,14 @@
|
|||
types: [text]
|
||||
stages: [pre-commit, pre-push, manual]
|
||||
minimum_pre_commit_version: 3.2.0
|
||||
|
||||
- id: check-dco
|
||||
name: Check Developer Certificate of Origin (DCO)
|
||||
description: >
|
||||
Verifies that the commit message contains a valid
|
||||
``Signed-off-by: Name <email>`` line per the
|
||||
`Developer Certificate of Origin <https://developercertificate.org/>`__.
|
||||
entry: check-dco
|
||||
language: python
|
||||
stages: [commit-msg]
|
||||
minimum_pre_commit_version: 2.9.2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue