Skip to content

Enum: GhaRulesetSourceType

What can own a ruleset, as the REST field source_type names it.

URI: gha:GhaRulesetSourceType

Value Meaning Description
Repository None A repository’s own ruleset
Organization None An organization’s ruleset, applied to the repositories it targets
Enterprise None An enterprise’s ruleset, applied to the repositories it targets
Name Description
ruleset_source_type What owns the ruleset, the REST field source_type: a repository, an organiz…
name: GhaRulesetSourceType
description: What can own a ruleset, as the REST field `source_type` names it.
from_schema: https://w3id.org/lmodel/github-actions
see_also:
- https://docs.github.com/en/rest/repos/rules
rank: 1000
permissible_values:
Repository:
text: Repository
description: A repository's own ruleset.
Organization:
text: Organization
description: An organization's ruleset, applied to the repositories it targets.
Enterprise:
text: Enterprise
description: An enterprise's ruleset, applied to the repositories it targets.