Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Commit ca79916

Browse files
authored
remove is_bot field (#54)
Signed-off-by: Ibrahim Mbaziira <[email protected]> Signed-off-by: Ibrahim Mbaziira <[email protected]> Signed-off-by: aultron <[email protected]>
1 parent 7fb57e1 commit ca79916

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cmd/git/git.go

100755100644
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,16 +1300,13 @@ func (j *DSGit) GetModelData(ctx *shared.Ctx, docs []interface{}) []git.CommitCr
13001300
if err != nil {
13011301
j.log.WithFields(logrus.Fields{"operation": "GetModelData"}).Error(fmt.Errorf("GenerateIdentity source: %s, email: %s, name:%s, username:%s. error: %+v", j.RepositorySource, email, name, username, err))
13021302
}
1303-
1304-
isBotIdentity := shared.IsBotIdentity(name, username, email, GitDataSource, os.Getenv("BOT_NAME_REGEX"), os.Getenv("BOT_USERNAME_REGEX"), os.Getenv("BOT_EMAIL_REGEX"))
13051303
commitRole.Identity = user.UserIdentityObjectBase{
13061304
ID: userID,
13071305
Email: email,
13081306
Name: name,
13091307
IsVerified: false,
13101308
Username: username,
13111309
Source: j.RepositorySource,
1312-
IsBot: isBotIdentity,
13131310
}
13141311
commitRoles = append(commitRoles, commitRole)
13151312
}

0 commit comments

Comments
 (0)