Skip to content

Commit

Permalink
fix pusher name via ssh push (go-gitea#7167)
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny authored Jun 11, 2019
1 parent b3b4684 commit 74690f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/serv.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func runServ(c *cli.Context) error {
os.Setenv(models.EnvRepoIsWiki, strconv.FormatBool(results.IsWiki))
os.Setenv(models.EnvRepoName, results.RepoName)
os.Setenv(models.EnvRepoUsername, results.OwnerName)
os.Setenv(models.EnvPusherName, username)
os.Setenv(models.EnvPusherName, results.UserName)
os.Setenv(models.EnvPusherID, strconv.FormatInt(results.UserID, 10))
os.Setenv(models.ProtectedBranchRepoID, strconv.FormatInt(results.RepoID, 10))

Expand Down

0 comments on commit 74690f6

Please sign in to comment.