@@ -5,12 +5,11 @@ The `[.]scala-steward.conf` configuration file can be located in the root of you
5
5
If a configuration file exists in more than one location, only the first found file is taken into account.
6
6
7
7
``` scala mdoc:passthrough
8
- import io .circe .refined ._
9
- import io .circe .syntax ._
10
- import org .scalasteward .core .repoconfig ._
8
+ import io .circe .refined .*
9
+ import io .circe .syntax .*
10
+ import org .scalasteward .core .repoconfig .*
11
11
12
- print(" ```properties" )
13
- print(s """
12
+ val input = s """
14
13
# pullRequests.frequency allows to control how often or when Scala Steward
15
14
# is allowed to create pull requests.
16
15
#
@@ -145,7 +144,7 @@ updates.fileExtensions = [".scala", ".sbt", ".sbt.shared", ".sc", ".yml", ".md",
145
144
# you don't change it yourself.
146
145
# If "never", Scala Steward will never update the PR
147
146
# Default: ${PullRequestUpdateStrategy .default.asJson.noSpaces}
148
- updatePullRequests = "always" | "on-conflicts" | "never"
147
+ updatePullRequests = "always"
149
148
150
149
# If set, Scala Steward will use this message template for the commit messages and PR titles.
151
150
# Supported variables: $$ {artifactName}, $$ {currentVersion}, $$ {nextVersion} and $$ {default}
@@ -186,11 +185,11 @@ dependencyOverrides = [
186
185
},
187
186
{
188
187
dependency = { groupId = "com.example", artifactId = "foo" },
189
- pullRequests = { frequency = "30 day " },
188
+ pullRequests = { frequency = "30 days " },
190
189
},
191
190
{
192
191
dependency = { groupId = "com.example" },
193
- pullRequests = { frequency = "14 day " },
192
+ pullRequests = { frequency = "14 days " },
194
193
}
195
194
]
196
195
@@ -207,7 +206,12 @@ reviewers = [ "username1", "username2" ]
207
206
# If true, Scala Steward will sign off all commits (e.g. `git --signoff`).
208
207
# Default: false
209
208
signoffCommits = true
210
- """ )
209
+ """
210
+
211
+ DocChecker .verifyParsedEqualsEncoded[RepoConfig ](input)
212
+
213
+ print(" ```properties" )
214
+ print(input)
211
215
println(" ```" )
212
216
```
213
217
0 commit comments