s/Gitea/Forgejo in various log messages and comments
This commit is contained in:
parent
f0f8210279
commit
469c214ec8
19 changed files with 32 additions and 32 deletions
|
@ -356,7 +356,7 @@ var slackChannel = regexp.MustCompile(`^#?[a-z0-9_-]{1,80}$`)
|
|||
// IsValidSlackChannel validates a channel name conforms to what slack expects:
|
||||
// https://api.slack.com/methods/conversations.rename#naming
|
||||
// Conversation names can only contain lowercase letters, numbers, hyphens, and underscores, and must be 80 characters or less.
|
||||
// Gitea accepts if it starts with a #.
|
||||
// Forgejo accepts if it starts with a #.
|
||||
func IsValidSlackChannel(name string) bool {
|
||||
return slackChannel.MatchString(name)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue