-
Notifications
You must be signed in to change notification settings - Fork 3
/
scala-steward.conf
42 lines (35 loc) · 2.46 KB
/
scala-steward.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
pullRequests.grouping = [
{ name = "gu", "title" = "chore(deps): Guardian library updates", "filter" = [{"group" = "com.gu"}] },
{ name = "aws", "title" = "chore(deps): AWS dependency updates", "filter" = [{"group" = "software.amazon.awssdk"}, {"group" = "com.amazonaws"}] },
{ name = "non_aws", "title" = "chore(deps): Non-AWS dependency updates", "filter" = [{"group" = "*"}] }
]
# For deps that are neither Guardian nor excessively chatty, this seems a reasonable default, given that we group
# PRs - if the PRs are too infrequent, they may grow too large and hard to debug if they go wrong.
pullRequests.frequency = "7 days"
dependencyOverrides = [
{
dependency = { groupId = "com.gu" }, # A Guardian library update is generally more important to us
pullRequests = { frequency = "2 days" }
},
# Some libraries automatically release updates as frequently as daily, without those dependencies
# having meaningful security value. So we slow the rate of updates to 'monthly':
{ pullRequests = { frequency = "30 days" }, dependency = { groupId = "com.amazonaws" } },
{ pullRequests = { frequency = "30 days" }, dependency = { groupId = "software.amazon.awssdk" } },
{ pullRequests = { frequency = "30 days" }, dependency = { groupId = "com.google.apis" } }
]
updates.ignore = [
# Ignore Akka updates following licence changes. Note, we hope to provide better
# solutions to this going forward; this is a crude sticking-plaster to avoid us
# sleepwalking into lots of fees.
{ groupId = "com.typesafe.akka" }, {groupId = "com.lightbend.akka"},
# Ignore updates to non-LTS versions of the Scala 3 library.
# See https://www.scala-lang.org/blog/2022/08/17/long-term-compatibility-plans.html#owners-of-commercial-projects
{groupId = "org.scala-lang", artifactId = "scala3-library", version = {prefix = "3.4."}},
{groupId = "org.scala-lang", artifactId = "scala3-library", version = {prefix = "3.5."}},
# Ignore updates to Scrooge Thrift. This will be removed once the CAPI team renames
# in https://github.com/guardian/content-api-models any fields that are reserved keywords in Scrooge, e.g.
# https://github.com/guardian/content-api-models/blob/ac9b9cb6826717a053667a80c5b06e543f8d669a/models/src/main/thrift/content/v1.thrift#L391-L392
# See https://trello.com/c/1rp2MVVA and https://github.com/guardian/content-api/issues/2903
{groupId = "com.twitter", artifactId = "scrooge-core", version = {prefix = "22.2.0"}},
]
pullRequests.customLabels = [ "dependencies" ]