Skip to content

Enum: GhaRulesetEnforcement

Whether GitHub enforces a ruleset, as the REST field enforcement names it.

URI: gha:GhaRulesetEnforcement

Value Meaning Description
active None Enforced
evaluate None Evaluated and reported but not enforced, so administrators can test its rules…
disabled None Neither enforced nor evaluated
Name Description
enforcement Whether GitHub enforces the ruleset, the REST field enforcement
name: GhaRulesetEnforcement
description: Whether GitHub enforces a ruleset, as the REST field `enforcement` names
it.
from_schema: https://w3id.org/lmodel/github-actions
see_also:
- https://docs.github.com/en/rest/repos/rules
rank: 1000
permissible_values:
active:
text: active
description: Enforced.
evaluate:
text: evaluate
description: Evaluated and reported but not enforced, so administrators can test
its rules; only on GitHub Enterprise.
disabled:
text: disabled
description: Neither enforced nor evaluated.