mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
Update pre-push handler to support KT
#KTIJ-30057 GitOrigin-RevId: 9eaf1fa2bdba1c11dce3d508793897322f02861d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d9935211b3
commit
90708008c0
@@ -6,7 +6,7 @@ import org.jetbrains.annotations.Nls
|
||||
|
||||
internal class KotlinPluginPrePushHandler : IssueIDPrePushHandler() {
|
||||
override val paths: List<String> = listOf("plugins/kotlin/")
|
||||
override val commitMessageRegex = Regex(".*(?:KTIJ|IDEA|IJPL)-\\d+.*", RegexOption.DOT_MATCHES_ALL /* line breaks matter */)
|
||||
override val commitMessageRegex = Regex(".*(?:KTIJ|KT|IDEA|IJPL)-\\d+.*", RegexOption.DOT_MATCHES_ALL /* line breaks matter */)
|
||||
override val pathsToIgnore = super.pathsToIgnore.toMutableList()
|
||||
.apply { add("/fleet/plugins/kotlin/") }
|
||||
.apply { add("/plugins/kotlin/jupyter/") }
|
||||
|
||||
@@ -277,7 +277,8 @@ class KotlinPluginPrePushHandlerTest {
|
||||
"KTIJ",
|
||||
"KTIJ-",
|
||||
"KTIJ-one",
|
||||
"KT-123",
|
||||
"KT",
|
||||
"KT-",
|
||||
"WHATEVER-123",
|
||||
"Header KTIJ",
|
||||
"Header KTIJ header",
|
||||
|
||||
Reference in New Issue
Block a user