summaryrefslogtreecommitdiffstats
path: root/doc/developer/workflow.rst
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/developer/workflow.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/developer/workflow.rst b/doc/developer/workflow.rst
index 88ee35838..605525818 100644
--- a/doc/developer/workflow.rst
+++ b/doc/developer/workflow.rst
@@ -354,6 +354,19 @@ Before merging make sure a PR has squashed the following kinds of commits:
This helps to automatically generate human-readable changelog messages.
+Commit Guidelines
+-----------------
+
+There is a built-in commit linter. Basic rules:
+
+- Commit messages must be prefixed with the name of the changed subsystem, followed
+ by a colon and a space and start with an imperative verb.
+
+ `Check <https://github.com/FRRouting/frr/tree/master/.github/commitlint.config.js>`_ all
+ the supported subsystems.
+
+- Commit messages must start with a capital letter
+- Commit messages must not end with a period ``.``
.. _license-for-contributions: