tenseleyflow/shithub / eadda53

Browse files

web/templates: add require_signed_commits checkbox to BP rule form

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
eadda534fd5d64719d651ae142a2caff6694093e
Parents
c7d158f
Tree
96b7cf5

1 changed file

StatusFile+-
M internal/web/templates/repo/settings_branches.html 1 0
internal/web/templates/repo/settings_branches.htmlmodified
@@ -59,6 +59,7 @@
5959
       <label><input type="checkbox" name="prevent_force_push" checked> Prevent force-push</label>
6060
       <label><input type="checkbox" name="prevent_deletion" checked> Prevent deletion</label>
6161
       <label><input type="checkbox" name="require_pr_for_push"> Require PR for push (placeholder; enforced post-MVP)</label>
62
+      <label><input type="checkbox" name="require_signed_commits"> Require signed commits (visible toggle; underlying enforcement ships with commit signing)</label>
6263
       <label>Allowed pushers (comma-separated usernames; leave blank for "any collaborator")
6364
         <input type="text" name="allowed_pushers" placeholder="alice, bob">
6465
       </label>