diff --git a/models/user/user_system.go b/models/user/user_system.go index 3d93094b7c..b29f000bfd 100644 --- a/models/user/user_system.go +++ b/models/user/user_system.go @@ -38,6 +38,8 @@ func NewReplaceUser(name string) *User { const ( ActionsUserID = -2 ActionsUserName = "gitea-actions" + ActionsFullName = "Gitea Actions" + ActionsEmail = "teabot@gitea.io" ) // NewActionsUser creates and returns a fake user for running the actions. @@ -47,8 +49,8 @@ func NewActionsUser() *User { Name: ActionsUserName, LowerName: ActionsUserName, IsActive: true, - FullName: "Gitea Actions", - Email: "teabot@gitea.io", + FullName: ActionsFullName, + Email: ActionsEmail, KeepEmailPrivate: true, LoginName: ActionsUserName, Type: UserTypeIndividual,