1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

[BRANDING] reserve forgejo-actions username

(cherry picked from commit 2a25be788b)
(cherry picked from commit b270d5815c)
This commit is contained in:
Loïc Dachary 2023-02-16 10:36:14 +01:00 committed by Earl Warren
parent 6601328d3c
commit e7382cc71e
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 3 deletions

View file

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

View file

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