scala-steward-org / scala-steward

:robot: A bot that helps you keep your projects up-to-date
Apache License 2.0
1.15k stars 496 forks source link

Fix exit code policy #3377

Closed esamson closed 3 months ago

esamson commented 3 months ago

Aligning expectation that "all repos succeed" means there are no repos with failures.

This brings back the old behavior from RunResults:

if (reposWithFailures.isEmpty) ExitCode.Success else ExitCode.Error

See: https://github.com/scala-steward-org/scala-steward/compare/6259adb0...9d9460af

alejandrohdezma commented 3 months ago

Good catch @esamson! Thanks!