aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoïc Dachary2023-02-16 10:36:14 +0100
committerLoïc Dachary2023-03-12 23:29:04 +0100
commitf5b2c691f17d6a66fd8041a83b36194f7d630339 (patch)
tree0ca5ae0bc56906631061166071c65cbafd7d433e
parent5adc6ffee2e6f1af72039747df809aa6ebd2198f (diff)
[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)
-rw-r--r--models/user/user.go1
-rw-r--r--models/user/user_system.go6
2 files changed, 4 insertions, 3 deletions
diff --git a/models/user/user.go b/models/user/user.go
index 454779b9e..185747ac2 100644
--- a/models/user/user.go
+++ b/models/user/user.go
@@ -535,6 +535,7 @@ var (
"user",
"v2",
"gitea-actions",
+ "forgejo-actions",
}
reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"}
diff --git a/models/user/user_system.go b/models/user/user_system.go
index f54f4e3ff..e3f79a4ba 100644
--- a/models/user/user_system.go
+++ b/models/user/user_system.go
@@ -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.