1
0
mirror of synced 2026-01-08 21:02:10 -05:00
Files
docs/.github/branch_protection_settings/main.json

143 lines
5.7 KiB
JSON

{
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection",
"required_status_checks": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks",
"strict": true,
"contexts": [
"Build and deploy Azure preview environment",
"automated-pipelines",
"github-apps",
"graphql",
"events",
"landings",
"rest",
"search",
"webhooks",
"local-dev",
"check-links",
"shielding",
"observability",
"pageinfo",
"redirects",
"ghes-releases",
"content-render",
"assets",
"languages",
"learning-track",
"release-notes",
"color-schemes",
"content-linter",
"lint-content",
"playwright-tests (playwright-rendering)",
"archives",
"versions",
"audit-logs",
"changelogs",
"data-directory",
"early-access",
"fixtures",
"frame",
"products",
"workflows",
"lint-code"
],
"contexts_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_status_checks/contexts",
"checks": [
{
"context": "Build and deploy Azure preview environment",
"app_id": 15368
},
{ "context": "automated-pipelines", "app_id": 15368 },
{ "context": "github-apps", "app_id": 15368 },
{ "context": "graphql", "app_id": 15368 },
{ "context": "events", "app_id": 15368 },
{ "context": "landings", "app_id": 15368 },
{ "context": "rest", "app_id": 15368 },
{ "context": "search", "app_id": 15368 },
{ "context": "webhooks", "app_id": 15368 },
{ "context": "local-dev", "app_id": 15368 },
{ "context": "check-links", "app_id": 15368 },
{ "context": "shielding", "app_id": 15368 },
{ "context": "observability", "app_id": 15368 },
{ "context": "pageinfo", "app_id": 15368 },
{ "context": "redirects", "app_id": 15368 },
{ "context": "ghes-releases", "app_id": 15368 },
{ "context": "content-render", "app_id": 15368 },
{ "context": "assets", "app_id": 15368 },
{ "context": "languages", "app_id": 15368 },
{ "context": "learning-track", "app_id": 15368 },
{ "context": "release-notes", "app_id": 15368 },
{ "context": "color-schemes", "app_id": 15368 },
{ "context": "content-linter", "app_id": 15368 },
{ "context": "lint-content", "app_id": 15368 },
{ "context": "playwright-tests (playwright-rendering)", "app_id": 15368 },
{ "context": "archives", "app_id": 15368 },
{ "context": "versions", "app_id": 15368 },
{ "context": "audit-logs", "app_id": 15368 },
{ "context": "changelogs", "app_id": 15368 },
{ "context": "data-directory", "app_id": 15368 },
{ "context": "early-access", "app_id": 15368 },
{ "context": "fixtures", "app_id": 15368 },
{ "context": "frame", "app_id": 15368 },
{ "context": "products", "app_id": 15368 },
{ "context": "workflows", "app_id": 15368 },
{ "context": "lint-code", "app_id": 15368 }
]
},
"restrictions": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/restrictions",
"users_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/restrictions/users",
"teams_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/restrictions/teams",
"apps_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/restrictions/apps",
"users": [],
"teams": [
{
"name": "docs",
"id": 325922,
"node_id": "MDQ6VGVhbTMyNTkyMg==",
"slug": "docs",
"description": "We're the Docs Team! We work in /docs and /docs-internal and publish docs.github.com. ",
"privacy": "closed",
"notification_setting": "notifications_enabled",
"url": "https://api.github.com/organizations/9919/team/325922",
"html_url": "https://github.com/orgs/github/teams/docs",
"members_url": "https://api.github.com/organizations/9919/team/325922/members{/member}",
"repositories_url": "https://api.github.com/organizations/9919/team/325922/repos",
"permission": "pull",
"parent": null
}
],
"apps": []
},
"required_pull_request_reviews": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_pull_request_reviews",
"dismiss_stale_reviews": false,
"require_code_owner_reviews": true,
"require_last_push_approval": false,
"required_approving_review_count": 1,
"dismissal_restrictions": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/dismissal_restrictions",
"users_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/dismissal_restrictions/users",
"teams_url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/dismissal_restrictions/teams",
"users": [],
"teams": [],
"apps": []
}
},
"required_signatures": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/required_signatures",
"enabled": false
},
"enforce_admins": {
"url": "https://api.github.com/repos/github/docs-internal/branches/main/protection/enforce_admins",
"enabled": false
},
"required_linear_history": { "enabled": false },
"allow_force_pushes": { "enabled": false },
"allow_deletions": { "enabled": false },
"block_creations": { "enabled": true },
"required_conversation_resolution": { "enabled": false },
"lock_branch": { "enabled": false },
"allow_fork_syncing": { "enabled": false }
}