Github API - Test Config

branch-protection [object]

Branch Protection

Attributes
allow_deletions 1920

1920 [object]

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

allow_force_pushes 1921

1921 [object]

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

allow_fork_syncing 1922

1922 [object]

Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing.

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

Whether users can pull changes from upstream when the branch is locked. Set to true to allow fork syncing. Set to false to prevent fork syncing.

block_creations 1923

1923 [object]

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

enabled boolean

boolean [scalar]

The OpenAPI boolean type

API:
Github Open API
(version: 1.1.4)

enforce_admins protected-branch-admin-enforced

protected-branch-admin-enforced [object]

Protected Branch Admin Enforced

Attributes
enabled boolean

url string

API:
Github Open API
(version: 1.1.4)

lock_branch 1924

1924 [object]

Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

Whether to set the branch as read-only. If this is true, users will not be able to push to the branch.

name string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

protection_url string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

required_conversation_resolution 1925

1925 [object]

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

required_linear_history 1926

1926 [object]

Attributes
enabled boolean

API:
Github Open API
(version: 1.1.4)

required_pull_request_reviews protected-branch-pull-request-review

protected-branch-pull-request-review [object]

Protected Branch Pull Request Review

Attributes
bypass_pull_request_allowances 2065

Allow specific users, teams, or apps to bypass pull request requirements.

dismiss_stale_reviews boolean

dismissal_restrictions 2066

require_code_owner_reviews boolean

require_last_push_approval boolean

Whether the most recent push must be approved by someone other than the person who pushed it.

required_approving_review_count integer

url string

API:
Github Open API
(version: 1.1.4)

required_signatures 1927

1927 [object]

Attributes
enabled boolean

url string

API:
Github Open API
(version: 1.1.4)

required_status_checks protected-branch-required-status-check

protected-branch-required-status-check [object]

Protected Branch Required Status Check

Attributes
checks 2067 []

contexts string []

contexts_url string

enforcement_level string

strict boolean

url string

API:
Github Open API
(version: 1.1.4)

restrictions branch-restriction-policy

branch-restriction-policy [object]

Branch Restriction Policy

Attributes
apps 1928 []

apps_url string

teams 1931 []

teams_url string

url string

users 1932 []

users_url string

API:
Github Open API
(version: 1.1.4)

url string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

API:
Github Open API
(version: 1.1.4)