Documentation
¶
Overview ¶
Package checkoutpolicy defines the compiler's pull_request_target trust predicates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base ¶
Base accepts the supported base-repository/ref forms. Callers must separately reject additional fetches; this predicate does not authorize those refs.
func LiteralPair ¶
LiteralPair identifies pairs eligible for exact allowlist matching, not repository/ref existence or trust. Callers must reject wiki and fetch options.
func LiteralRef ¶
LiteralRef excludes expression, wildcard, and pull-request refs from allowlist pairs.
func LiteralRepository ¶
LiteralRepository reports whether a selector can participate in a literal allowlist pair.
func MatchesExpression ¶
MatchesExpression accepts only one complete expression naming the expected context.
Types ¶
This section is empty.