0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-02-21 11:28:12 +01:00
This commit is contained in:
Lunny Xiao 2026-02-20 20:54:19 -08:00
parent 60ca53d44e
commit 512365a84f
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
2 changed files with 6 additions and 4 deletions

View File

@ -236,8 +236,10 @@ func (r RoleInRepo) LocaleHelper(lang translation.Locale) string {
type SpecialDoerNameType string
const SpecialDoerNameCodeOwners SpecialDoerNameType = "CODEOWNERS"
const SpecialDoerNameProjectWorkflow SpecialDoerNameType = "PROJECT_WORKFLOW"
const (
SpecialDoerNameCodeOwners SpecialDoerNameType = "CODEOWNERS"
SpecialDoerNameProjectWorkflow SpecialDoerNameType = "PROJECT_WORKFLOW"
)
type ProjectWorkflowCommentMeta struct {
ProjectTitle string

View File

@ -562,8 +562,8 @@ var globalVars = sync.OnceValue(func() *globalVarsStruct {
emailRegexp: regexp.MustCompile("^[a-zA-Z0-9.!#$%&'*+-/=?^_`{|}~]*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$"),
systemUserNewFuncs: map[int64]func() *User{
GhostUserID: NewGhostUser,
ActionsUserID: NewActionsUser,
GhostUserID: NewGhostUser,
ActionsUserID: NewActionsUser,
},
}
})