mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-15 02:01:43 +03:00
github: make sure to have a name
This commit is contained in:
parent
2e7ac569ad
commit
8773929f96
@ -534,6 +534,11 @@ func (gi *githubImporter) ensurePerson(repo *cache.RepoCache, actor *actor) (*ca
|
||||
case "Bot":
|
||||
}
|
||||
|
||||
// Name is not necessarily set, fallback to login as a name is required in the identity
|
||||
if name == "" {
|
||||
name = string(actor.Login)
|
||||
}
|
||||
|
||||
i, err = repo.NewIdentityRaw(
|
||||
name,
|
||||
email,
|
||||
|
Loading…
Reference in New Issue
Block a user