Github API - Test Config

RepositoryRuleConditions [object]

Set of conditions that determine if a ruleset will evaluate

Attributes
refName RefNameConditionTarget

RefNameConditionTarget [object]

Parameters to be used for the ref_name condition

Attributes
exclude String []

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

include String []

Array of ref names or patterns to include. One of these patterns must match
for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the
default branch or ~ALL to include all branches.

API:
Github GraphQL API

Configuration for the ref_name condition

repositoryId RepositoryIdConditionTarget

RepositoryIdConditionTarget [object]

Parameters to be used for the repository_id condition

Attributes
repositoryIds ID []

One of these repo IDs must match the repo.

API:
Github GraphQL API

Configuration for the repository_id condition

repositoryName RepositoryNameConditionTarget

RepositoryNameConditionTarget [object]

Parameters to be used for the repository_name condition

Attributes
exclude String []

Array of repository names or patterns to exclude. The condition will not pass if any of these patterns match.

include String []

Array of repository names or patterns to include. One of these patterns must
match for the condition to pass. Also accepts ~ALL to include all repositories.

protected Boolean

Target changes that match these patterns will be prevented except by those with bypass permissions.

API:
Github GraphQL API

Configuration for the repository_name condition

repositoryProperty RepositoryPropertyConditionTarget

RepositoryPropertyConditionTarget [object]

Parameters to be used for the repository_property condition

Attributes

Array of repository properties that must not match.

Array of repository properties that must match

API:
Github GraphQL API

Configuration for the repository_property condition

API:
Github GraphQL API