mirror of
https://github.com/go-gitea/gitea
synced 2025-07-06 02:27:20 +00:00
Implement "conversation lock" for issue comments (#5073)
This commit is contained in:
@ -227,6 +227,11 @@ var (
|
||||
PullRequest struct {
|
||||
WorkInProgressPrefixes []string
|
||||
} `ini:"repository.pull-request"`
|
||||
|
||||
// Issue Setting
|
||||
Issue struct {
|
||||
LockReasons []string
|
||||
} `ini:"repository.issue"`
|
||||
}{
|
||||
AnsiCharset: "",
|
||||
ForcePrivate: false,
|
||||
@ -279,6 +284,13 @@ var (
|
||||
}{
|
||||
WorkInProgressPrefixes: []string{"WIP:", "[WIP]"},
|
||||
},
|
||||
|
||||
// Issue settings
|
||||
Issue: struct {
|
||||
LockReasons []string
|
||||
}{
|
||||
LockReasons: strings.Split("Too heated,Off-topic,Spam,Resolved", ","),
|
||||
},
|
||||
}
|
||||
RepoRootPath string
|
||||
ScriptType = "bash"
|
||||
|
Reference in New Issue
Block a user