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
feat: new branchNameStrict configuration flag #17216
Conversation
Removes any special characters from branch names
If I was starting over, I'd choose this approach. But right now we have both open and closed PRs with branch names using non-strict slugifying which could be reopened or autoclosed. So I'm torn between just changing it to get it right now vs making this an opt-in option e.g. |
Ah, right. So an boolean configuration option that defaults to false? |
Let's start with that so there's no delay, we can always decide to make it default later. |
…uggify strictness
…novate into feature/strict-slugify
Co-authored-by: Rhys Arkins <rhys@arkins.net>
rename new configuration to branchNameStrict so that it matches existing branch* and branchName* options pivot to regex vs using slugify strict mode additional tests
…novate into feature/strict-slugify
🎉 This PR is included in version 32.167.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Changes
Add new configuration option to specify whether branchNames should be very strict about any special characters within
Context
Documentation (please check one with an [x])
How I've tested my work (please tick one)
I have verified these changes via: