Returns whether branch protections or rulesets are configured for the triggering ref.
true if the ref is protected, false otherwise.
true
false
Returns whether branch protections or rulesets are configured for the triggering ref.