(tenant, ownerOrRepo string)
| 59 | } |
| 60 | |
| 61 | func expandToGitHubURLRegex(tenant, ownerOrRepo string) string { |
| 62 | url := expandToGitHubURL(tenant, ownerOrRepo) |
| 63 | return fmt.Sprintf("(?i)^%s", regexp.QuoteMeta(url+"/")) |
| 64 | } |
| 65 | |
| 66 | func newEnforcementCriteria(opts *Options) (verification.EnforcementCriteria, error) { |
| 67 | // initialize the enforcement criteria with the provided PredicateType |
no test coverage detected