diff --git a/models/user/user.go b/models/user/user.go index 456e195efb..e6c1d733d4 100644 --- a/models/user/user.go +++ b/models/user/user.go @@ -587,6 +587,7 @@ var ( "swagger.v1.json", "user", "v2", + "gitea-actions", } reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"} diff --git a/models/user/user_system.go b/models/user/user_system.go index 312f908ec5..3d93094b7c 100644 --- a/models/user/user_system.go +++ b/models/user/user_system.go @@ -37,7 +37,7 @@ func NewReplaceUser(name string) *User { const ( ActionsUserID = -2 - ActionsUserName = "[bot]gitea-actions" + ActionsUserName = "gitea-actions" ) // NewActionsUser creates and returns a fake user for running the actions.