Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to respect update frequency when version number is stored as a val #3297

Open
jweng opened this issue Feb 27, 2024 · 0 comments
Open

Comments

@jweng
Copy link

jweng commented Feb 27, 2024

We'd like to only update some library every 30 days. For example, AWS has a new build almost every single day and it is quite noisy. We had following configurations but seems Steward is unable to respect the update frequency when version number is stored in a value in build.sbt.

val cdkVersion = "1.204.0"
libraryDependencies ++= Seq(
  "software.amazon.awscdk" % "iam" % cdkVersion
  "software.amazon.awscdk" % "core" % cdkVersion
)

and in .scalafmt.conf:

dependencyOverrides = [
  {
    dependency = { groupId = "software.amazon.awscdk" },
    pullRequests = { frequency = "30 days" }
  }
]

This dependencyOverrides config seems to be working as expected for other case, i.e where version number shows in place right after the artifact id.

@jweng jweng changed the title Unable to ignore update frequency when version number is stored as a val Unable to respect update frequency when version number is stored as a val Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant