scala-steward
scala-steward copied to clipboard
Pull requests grouping name validation
The configuration for pull requests grouping states that the name will be used as an identifier for things like the branch created to host the changes. Unfortunately, some characters, like spaces, are forbidden in branch names.
What would you do to prevent failure when someone uses a name like "Our common lib". Do you prefer:
- validation on start up which fails because the config is valid
- validation which warns and sanitize the name
- sanitize the name w/o a warning
- just document that you can't use spaces in name and hope users won't do that