chore: allow direct pushes to main

Remove the protect-main pre-push guard so main can be pushed directly,
and update the CLAUDE.md git-workflow note to match.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-24 13:42:24 -04:00
co-authored by Claude Opus 4.8
parent 37f75d50e5
commit 20c2e74412
2 changed files with 1 additions and 12 deletions
-11
View File
@@ -31,17 +31,6 @@ pre-commit:
pre-push:
parallel: true
commands:
protect-main:
run: |
branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" = "main" ]; then
echo "Direct push to main is not allowed. Use a pull request instead."
exit 1
fi
skip:
- merge
- rebase
go-test:
glob: "*.go"
run: go test -tags webkit2_41 -race -count=1 -timeout 120s ./...