mirror of
https://github.com/go-gitea/gitea.git
synced 2025-05-18 00:49:09 -04: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 (
|
const (
|
||||||
ActionsUserID = -2
|
ActionsUserID = -2
|
||||||
ActionsUserName = "gitea-actions"
|
ActionsUserName = "gitea-actions"
|
||||||
|
ActionsFullName = "Gitea Actions"
|
||||||
|
ActionsEmail = "teabot@gitea.io"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewActionsUser creates and returns a fake user for running the actions.
|
// NewActionsUser creates and returns a fake user for running the actions.
|
||||||
@ -47,8 +49,8 @@ func NewActionsUser() *User {
|
|||||||
Name: ActionsUserName,
|
Name: ActionsUserName,
|
||||||
LowerName: ActionsUserName,
|
LowerName: ActionsUserName,
|
||||||
IsActive: true,
|
IsActive: true,
|
||||||
FullName: "Gitea Actions",
|
FullName: ActionsFullName,
|
||||||
Email: "teabot@gitea.io",
|
Email: ActionsEmail,
|
||||||
KeepEmailPrivate: true,
|
KeepEmailPrivate: true,
|
||||||
LoginName: ActionsUserName,
|
LoginName: ActionsUserName,
|
||||||
Type: UserTypeIndividual,
|
Type: UserTypeIndividual,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user