about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/nixos/monorepo-gerrit.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/nixos/monorepo-gerrit.nix b/ops/nixos/monorepo-gerrit.nix
index 61d8b71a5b..eaea386ecd 100644
--- a/ops/nixos/monorepo-gerrit.nix
+++ b/ops/nixos/monorepo-gerrit.nix
@@ -74,6 +74,12 @@ in {
         html = "<a href=\"https://b.tvl.fyi/issues/$1\">b/$1</a>";
       };
 
+      # Auto-link other CLs
+      commentlink.gerrit = {
+        match = "cl/(\\\\d+)";
+        html = "<a href=\"https://cl.tvl.fyi/$1\">cl/$1</a>";
+      };
+
       # Configures integration with CAS, which then integrates with a variety
       # of backends.
       auth.type = "OAUTH";