mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-08 17:05:45 +02:00
Update models/user/user_system.go
Co-authored-by: delvh <dev.lh@web.de>
This commit is contained in:
parent
9b00ded1fb
commit
0f824b693c
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user