Searched refs:IsProtectedBranch (Results 1 – 3 of 3) sorted by relevance
171 isProtected, err := models.IsProtectedBranch(repo.ID, branchName)
403 func IsProtectedBranch(repoID int64, branchName string) (bool, error) { func
1513 if protected, err := models.IsProtectedBranch(pull.HeadRepo.ID, pull.HeadBranch); err != nil {