mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 20:28:40 +00:00
feat: rename bot user to gitea-actions
This commit is contained in:
@@ -587,6 +587,7 @@ var (
|
|||||||
"swagger.v1.json",
|
"swagger.v1.json",
|
||||||
"user",
|
"user",
|
||||||
"v2",
|
"v2",
|
||||||
|
"gitea-actions",
|
||||||
}
|
}
|
||||||
|
|
||||||
reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"}
|
reservedUserPatterns = []string{"*.keys", "*.gpg", "*.rss", "*.atom"}
|
||||||
|
@@ -37,7 +37,7 @@ func NewReplaceUser(name string) *User {
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
ActionsUserID = -2
|
ActionsUserID = -2
|
||||||
ActionsUserName = "[bot]gitea-actions"
|
ActionsUserName = "gitea-actions"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NewActionsUser creates and returns a fake user for running the actions.
|
// NewActionsUser creates and returns a fake user for running the actions.
|
||||||
|
Reference in New Issue
Block a user