Remove ALLOW_PROTECTED_REF bypass from hook policy #64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/remove-allow-protected-ref"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ALLOW_PROTECTED_REFbypass checks fromprotected-refs-policytests/protected-refs-policy.sh; 10 tests remain and passContext
ALLOW_PROTECTED_REFwas a legacy escape hatch that bypassed too many controls. Theallod changeworkflow should be the safe agent interface; hooks should remain a backstop without a bespoke bypass. Humans who need to bypass a local hook can use standardgit --no-verify.Companion PR in
vnprc/secretsupdates docs to match.Closes #62