=pro #19581 Ignore MiMa changes in validatePullRequest.

This commit is contained in:
Daniel Moran 2016-01-25 19:33:52 -08:00
parent b9106da698
commit a76cd9afa3

View file

@ -156,8 +156,12 @@ object ValidatePullRequest extends AutoPlugin {
val diffOutput = s"git diff $target --name-only".!!.split("\n")
val diffedModuleNames =
diffOutput
.map(l l.trim.takeWhile(_ != '/'))
.filter(dir => dir.startsWith("akka-") || dir == "project")
.map(l => l.trim)
.filter(l =>
l.startsWith("akka-") ||
(l.startsWith("project") && l != "project/MiMa.scala")
)
.map(l l.takeWhile(_ != '/'))
.toSet
val dirtyModuleNames: Set[String] =