1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-27 04:38:36 +00:00

feat: rename bot user to gitea-actions

This commit is contained in:
Jason Song
2022-12-12 14:31:02 +08:00
parent 5cfc48c288
commit cca23dd4af
2 changed files with 2 additions and 1 deletions

View File

@@ -587,6 +587,7 @@ var (
"swagger.v1.json", "swagger.v1.json",
"user", "user",
"v2", "v2",
"gitea-actions",
} }
reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"} reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"}

View File

@@ -37,7 +37,7 @@ func NewReplaceUser(name string) *User {
const ( const (
ActionsUserID = -2 ActionsUserID = -2
ActionsUserName = "[bot]gitea-actions" ActionsUserName = "gitea-actions"
) )
// NewActionsUser creates and returns a fake user for running the actions. // NewActionsUser creates and returns a fake user for running the actions.