commit 0cb1fb1b6112af8387982ced1d8515176cca06c4 from: Stefan Sperling date: Wed Jul 16 12:18:45 2025 UTC show examples for reference protection rules in gotsys.conf manual commit - f6ff692887f92c043fc96ebb8038bd4075bbdac0 commit + 0cb1fb1b6112af8387982ced1d8515176cca06c4 blob - bba079e08c2f4d74062e70f6de84832d544fcec6 blob + 61567e53b9c96f9a9c6d810a9d1e261b70f98803 --- gotsys/gotsys.conf.5 +++ gotsys/gotsys.conf.5 @@ -521,8 +521,8 @@ repository "src" { permit rw :developers permit ro anonymous .\" -.\" protect branch "main" -.\" protect tag namespace "refs/tags/" + protect branch "main" + protect tag namespace "refs/tags/" } repository "openbsd/ports" { @@ -532,10 +532,10 @@ repository "openbsd/ports" { permit ro anonymous deny flan_hacker -.\" protect { -.\" branch "main" -.\" tag namespace "refs/tags/" -.\" } + protect { + branch "main" + tag namespace "refs/tags/" + } .\" .\" notify { .\" branch "main" @@ -547,9 +547,9 @@ repository "openbsd/ports" { repository "secret" { permit rw flan_hacker head "refs/heads/private" -.\" -.\" protect branch "main" -.\" protect tag namespace "refs/tags/" + + protect branch "private" + protect tag namespace "refs/tags/" } .Ed .Sh SEE ALSO