(tenant, ownerOrRepo string)
| 23 | } |
| 24 | |
| 25 | func expandToGitHubURLRegex(tenant, ownerOrRepo string) string { |
| 26 | url := expandToGitHubURL(tenant, ownerOrRepo) |
| 27 | return fmt.Sprintf("(?i)^%s/", url) |
| 28 | } |
| 29 | |
| 30 | func newEnforcementCriteria(opts *Options) (verification.EnforcementCriteria, error) { |
| 31 | // initialize the enforcement criteria with the provided PredicateType |
no test coverage detected