Skip to content
Snippets Groups Projects
Commit 15429160 authored by Hidde Beydals's avatar Hidde Beydals
Browse files

Use owner in Git author email

parent 39b00797
Branches
Tags
No related merge requests found
...@@ -94,7 +94,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error { ...@@ -94,7 +94,7 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error {
return fmt.Errorf("%s environment variable not found", git.GitHubTokenName) return fmt.Errorf("%s environment variable not found", git.GitHubTokenName)
} }
repository, err := git.NewRepository(ghRepository, ghOwner, ghHostname, ghToken, "tk", "tk@users.noreply.github.com") repository, err := git.NewRepository(ghRepository, ghOwner, ghHostname, ghToken, "tk", ghOwner+"@users.noreply.github.com")
if err != nil { if err != nil {
return err return err
} }
......
...@@ -85,7 +85,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error { ...@@ -85,7 +85,7 @@ func bootstrapGitLabCmdRun(cmd *cobra.Command, args []string) error {
return fmt.Errorf("%s environment variable not found", git.GitLabTokenName) return fmt.Errorf("%s environment variable not found", git.GitLabTokenName)
} }
repository, err := git.NewRepository(glRepository, glOwner, glHostname, glToken, "tk", "tk@users.noreply.gitlab.com") repository, err := git.NewRepository(glRepository, glOwner, glHostname, glToken, "tk", glOwner+"@users.noreply.gitlab.com")
if err != nil { if err != nil {
return err return err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment