summaryrefslogtreecommitdiffstats
path: root/docs/index.md
diff options
context:
space:
mode:
authorJoris Roovers <jroovers@cisco.com>2018-04-02 10:48:41 +0200
committerJoris Roovers <jroovers@cisco.com>2018-04-02 10:48:41 +0200
commit7a964c94c02da7df501afb168696c1a60f0e5d5e (patch)
tree20b669e3f2c3509b6174cf9d7849a6c990f676f7 /docs/index.md
parent52dc67e751dbbaa66c455063c6fe4f2f86d668d4 (diff)
New ignore-by-body rule
New ignore-by-body (I2) that allows users to ignore commit messages based on matching the commit body against a regex. Also fixed an issue with unit test failures in Python 3.4 and 3.5 which had a different default sort order for dictionaries. This closes #54.
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/index.md b/docs/index.md
index 25509f2..4adb8a1 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -257,6 +257,11 @@ regex=^Release(.*)
ignore=title-max-length,body-min-length
# ignore all rules by setting ignore to 'all'
# ignore=all
+
+[ignore-by-title]
+# Match commits message bodies that have a line that contains 'release'
+regex=(.*)release(.*)
+ignore=all
```
!!! note