[BRANDING] reserve forgejo-actions username

(cherry picked from commit 2a25be788b)
(cherry picked from commit b270d5815c)
(cherry picked from commit e7382cc71e)
(cherry picked from commit 665400ea1e)
(cherry picked from commit f5b2c691f1)
This commit is contained in:
Loïc Dachary 2023-02-16 10:36:14 +01:00
parent 2ff8d166ac
commit 3df97adfef
No known key found for this signature in database
GPG Key ID: 992D23B392F9E4F2
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -37,9 +37,9 @@ func NewReplaceUser(name string) *User {
const ( const (
ActionsUserID = -2 ActionsUserID = -2
ActionsUserName = "gitea-actions" ActionsUserName = "forgejo-actions"
ActionsFullName = "Gitea Actions" ActionsFullName = "Forgejo Actions"
ActionsEmail = "teabot@gitea.io" ActionsEmail = "noreply@forgejo.org"
) )
// NewActionsUser creates and returns a fake user for running the actions. // NewActionsUser creates and returns a fake user for running the actions.