1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-04-18 00:47:48 -04: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
No known key found for this signature in database
GPG Key ID: 8402EEEE4511A8B5
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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.