(userName string)
| 249 | } |
| 250 | |
| 251 | func isGitLabBotUser(userName string) bool { |
| 252 | lowerUserName := strings.ToLower(userName) |
| 253 | return isBotUser("", lowerUserName) || gitLabBotUserNameRE.MatchString(lowerUserName) |
| 254 | } |
| 255 | |
| 256 | func isBitbucketBotUser(userType, userName string) bool { |
| 257 | return isBotUser(userType, userName) || strings.EqualFold(userType, "app") || strings.EqualFold(userType, "app_user") |
no test coverage detected