This commit is contained in:
parent
566806b3b7
commit
da176cfd4e
2
main.go
2
main.go
@ -101,6 +101,8 @@ func threatRepo(baseBranchRule glob.Glob, client *gitlab.Client, repo *gitlab.Pr
|
||||
error(10, "Could not obtain branch list from '%s': %v\n", repo.Name, err)
|
||||
}
|
||||
|
||||
fmt.Printf(" found %d branches\n", len(branchList))
|
||||
|
||||
for _, baseBranch := range branchList {
|
||||
if baseBranchRule.Match(baseBranch.Name) && !baseBranch.Default {
|
||||
fmt.Printf(" found branch '%s'\n", baseBranch.Name)
|
||||
|
Loading…
Reference in New Issue
Block a user