Skip to content

Slot: rule_types

The type of each rule the ruleset holds, such as deletion, non_fast_forward, pull_request or required_status_checks.

URI: gha:rule_types

Name Description Modifies Slot
GhaRepositoryRuleset A ruleset: named rules that GitHub enforces on the branches, tags or pushes o… no
Property Value
Range String
Domain Of GhaRepositoryRuleset
Property Value
Multivalued Yes
Property Value
Owner GhaRepositoryRuleset
Property Value
Regex Pattern ^[a-z_]+$
  • A pattern rather than an enumeration, because GitHub adds rule types.
Mapping Type Mapped Value
self gha:rule_types
native gha:rule_types
name: rule_types
description: The `type` of each rule the ruleset holds, such as `deletion`, `non_fast_forward`,
`pull_request` or `required_status_checks`.
comments:
- A pattern rather than an enumeration, because GitHub adds rule types.
from_schema: https://w3id.org/lmodel/github-actions
rank: 1000
owner: GhaRepositoryRuleset
domain_of:
- GhaRepositoryRuleset
range: string
multivalued: true
pattern: ^[a-z_]+$