This commit is contained in:
6543 2021-05-05 11:11:21 +02:00
parent 566806b3b7
commit da176cfd4e
Signed by: 6543
GPG Key ID: C99B82E40B027BAE
1 changed files with 2 additions and 0 deletions

View File

@ -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)