Earlier config was enable_push=false + apply_to_admins=false, which I expected to let the repo owner push directly. Empirically it blocked owner pushes too — apply_to_admins governs approval-rule bypass, not push-rule bypass. Switch to enable_push=true with enable_push_whitelist and a single entry so the owner has explicit, auditable direct-push access while casual commits still can't land without being whitelisted or going through a PR. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
15 lines
365 B
JSON
15 lines
365 B
JSON
{
|
|
"enable_push": true,
|
|
"enable_push_whitelist": true,
|
|
"push_whitelist_usernames": ["daniel"],
|
|
"enable_status_check": true,
|
|
"status_check_contexts": [
|
|
"CI / lint*",
|
|
"CI / test*",
|
|
"CI / validate-json*"
|
|
],
|
|
"required_approvals": 0,
|
|
"block_on_rejected_reviews": false,
|
|
"block_on_outdated_branch": false,
|
|
"require_signed_commits": false
|
|
}
|