=pro #19581 Ignore MiMa changes in validatePullRequest.
This commit is contained in:
parent
b9106da698
commit
a76cd9afa3
1 changed files with 6 additions and 2 deletions
|
|
@ -156,8 +156,12 @@ object ValidatePullRequest extends AutoPlugin {
|
||||||
val diffOutput = s"git diff $target --name-only".!!.split("\n")
|
val diffOutput = s"git diff $target --name-only".!!.split("\n")
|
||||||
val diffedModuleNames =
|
val diffedModuleNames =
|
||||||
diffOutput
|
diffOutput
|
||||||
.map(l ⇒ l.trim.takeWhile(_ != '/'))
|
.map(l => l.trim)
|
||||||
.filter(dir => dir.startsWith("akka-") || dir == "project")
|
.filter(l =>
|
||||||
|
l.startsWith("akka-") ||
|
||||||
|
(l.startsWith("project") && l != "project/MiMa.scala")
|
||||||
|
)
|
||||||
|
.map(l ⇒ l.takeWhile(_ != '/'))
|
||||||
.toSet
|
.toSet
|
||||||
|
|
||||||
val dirtyModuleNames: Set[String] =
|
val dirtyModuleNames: Set[String] =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue