Menu
AkurAI-Build
publicLatest change da796b936c05c2d842fce086d0072fb5c6f9da58 - pr: enforce branch protection at HTTP push and hosted_git::sync bypass by Ólafur Búi Ólafsson
-- Opt-in branch protection: a repository may mark its default branch
-- protected. Existing repositories default to 0 (unprotected) so every
-- current push-triggers-CI workflow keeps working unchanged; protection is
-- something a repository turns on, not something imposed retroactively.
ALTER TABLE repositories ADD COLUMN protect_default_branch INTEGER NOT NULL DEFAULT 0
CHECK (protect_default_branch IN (0, 1));
PRAGMA user_version = 12;