Github API - Test Config

RepositoryRuleConditionsInput [input]

Specifies the conditions required for a ruleset to evaluate

Attributes
refName RefNameConditionTargetInput

RefNameConditionTargetInput [input]

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 RepositoryIdConditionTargetInput

RepositoryIdConditionTargetInput [input]

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 RepositoryNameConditionTargetInput

RepositoryNameConditionTargetInput [input]

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 RepositoryPropertyConditionTargetInput

RepositoryPropertyConditionTargetInput [input]

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