From 4248a115795703d813bcd34d28bbec60305fae36 Mon Sep 17 00:00:00 2001 From: Matthias Kurz Date: Thu, 9 May 2024 23:13:30 +0200 Subject: [PATCH] Add scala steward config + pin Scala to 2.12 --- .github/scala-steward.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/scala-steward.conf diff --git a/.github/scala-steward.conf b/.github/scala-steward.conf new file mode 100644 index 0000000..50c8295 --- /dev/null +++ b/.github/scala-steward.conf @@ -0,0 +1,17 @@ +pullRequests.frequency = "@monthly" + +commits.message = "${artifactName} ${nextVersion} (was ${currentVersion})" + +pullRequests.grouping = [ + { name = "patches", "title" = "Patch updates", "filter" = [{"version" = "patch"}] } +] + +updates.pin = [ + // sbt-mocha is a sbt plugin and sbt plugins use Scala 2.12 + { groupId = "org.scala-lang", artifactId = "scala-compiler", version = "2.12." }, + { groupId = "org.scala-lang", artifactId = "scala-library", version = "2.12." }, + { groupId = "org.scala-lang", artifactId = "scala-reflect", version = "2.12." }, + { groupId = "org.scala-lang", artifactId = "scalap", version = "2.12." } +] + +updatePullRequests = never