Add example of patch set lock in label documentation
Change-Id: I277a0fd5404cec1f99dd3edbc79fa4e0f3f3dc5f
diff --git a/Documentation/config-labels.txt b/Documentation/config-labels.txt
index 9cf4e50..16c66bc 100644
--- a/Documentation/config-labels.txt
+++ b/Documentation/config-labels.txt
@@ -359,6 +359,20 @@
* Project Owners have limited scores (-2..+2) available, -2 is set as the default.
* Registered Users have limited scores (-1..+1) available, -1 is set as the default.
+=== Patch Set Lock Example
+
+This example shows how a label can be configured to have a standard patch set lock.
+
+====
+ [access "refs/heads/*"]
+ label-Patch-Set-Lock = +0..+1 group Administrators
+ [label "Patch-Set-Lock"]
+ function = PatchSetLock
+ value = 0 Patch Set Unlocked
+ value = +1 Patch Set Locked
+ defaultValue = 0
+====
+
GERRIT
------
Part of link:index.html[Gerrit Code Review]