mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
[BRANDING] reserve forgejo-actions username
(cherry picked from commit2a25be788b
) (cherry picked from commitb270d5815c
) (cherry picked from commite7382cc71e
) (cherry picked from commit665400ea1e
) (cherry picked from commitaf17f5caf7
) (cherry picked from commitb238a8463a
) (cherry picked from commit81c71941ad
) (cherry picked from commit48979314b1
) (cherry picked from commit9fc2cef94a
) (cherry picked from commit14cb04148a
)
This commit is contained in:
parent
ae2839938e
commit
7124cfa37a
2 changed files with 4 additions and 3 deletions
|
@ -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"}
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue