[BRANDING] reserve forgejo-actions username

(cherry picked from commit 2a25be788bdf3b58b236cb2a9f503b569703a0c6)
(cherry picked from commit b270d5815c80f387759eecbfcb588e548f5ed956)
(cherry picked from commit e7382cc71e43c52abcabc59d09128450ce415d26)
(cherry picked from commit 665400ea1e92405f41590bccf800714440ded50a)
(cherry picked from commit af17f5caf7)
(cherry picked from commit b238a8463a57c6ae1a7892036e817fcc92645ea8)
(cherry picked from commit 81c71941ad)
(cherry picked from commit 48979314b1)
(cherry picked from commit 9fc2cef94a)
This commit is contained in:
Loïc Dachary 2023-02-16 10:36:14 +01:00 committed by Earl Warren
parent 5c97ae00e6
commit 14cb04148a
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 3 deletions

View file

@ -535,6 +535,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.