mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 07:43:18 -05: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 commitf5b2c691f1
) (cherry picked from commit3df97adfef
) (cherry picked from commit494f6eafc1
) (cherry picked from commit822e3d2c83
) (cherry picked from commit7460f12568
) (cherry picked from commitf6cd70881e
) (cherry picked from commitc669ce8173
) (cherry picked from commit1d5a433e02
) (cherry picked from commitc1a4dc150c
) (cherry picked from commitdd1c971c6c
) (cherry picked from commit8d2dcd9b1e
) (cherry picked from commitb6bb8fd275
) (cherry picked from commitd4b71fe96e
) (cherry picked from commite204ec0b23
) (cherry picked from commit8d9f1174bd
) (cherry picked from commite314a7d5ba
) (cherry picked from commit48b3ad5a30
) (cherry picked from commit71ed4b7c69
) (cherry picked from commitd63324ccb6
) (cherry picked from commit9249e893db
) (cherry picked from commit78f156427b
)
This commit is contained in:
parent
bc833125d6
commit
c3d4a1a602
2 changed files with 4 additions and 3 deletions
|
@ -553,6 +553,7 @@ var (
|
||||||
"user",
|
"user",
|
||||||
"v2",
|
"v2",
|
||||||
"gitea-actions",
|
"gitea-actions",
|
||||||
|
"forgejo-actions",
|
||||||
}
|
}
|
||||||
|
|
||||||
// DON'T ADD ANY NEW STUFF, WE SOLVE THIS WITH `/user/{obj}` PATHS!
|
// DON'T ADD ANY NEW STUFF, WE SOLVE THIS WITH `/user/{obj}` PATHS!
|
||||||
|
|
|
@ -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