Private
Public Access
feat(tier2): add pre-push hook that refuses all pushes
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Tier 2 autonomous mode: `git push` is disabled.
|
||||||
|
# The user pushes the branch manually from the main repo after review.
|
||||||
|
|
||||||
|
echo "ERROR: Tier 2 autonomous mode: 'git push' is disabled." >&2
|
||||||
|
echo "Push the branch manually from the main repo after review." >&2
|
||||||
|
exit 1
|
||||||
Reference in New Issue
Block a user