Skip to content
Snippets Groups Projects
Commit c9161ef6 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

feat(config)!: default branchNameStrict=true

parent b53c581e
No related branches found
No related tags found
No related merge requests found
......@@ -299,15 +299,15 @@ If you truly need to configure this then it probably means either:
## branchNameStrict
By default, Renovate doesn't care about special characters when slugifying the branch name.
This means that special characters like `.` may end up in the branch name.
When you set `branchNameStrict` to `true`:
By default, Renovate removes special characters when slugifying the branch name:
- all special characters are removed
- only alphabetic characters are allowed
- hyphens `-` are used to separate sections
To revert this behavior to that used in v32 and before, set this value to `false`.
This will mean that special characters like `.` may end up in the branch name.
## branchPrefix
You can modify this field if you want to change the prefix used.
......
......@@ -2412,7 +2412,7 @@ const options: RenovateOptions[] = [
name: 'branchNameStrict',
description: `Whether to be strict about the use of special characters within the branch name.`,
type: 'boolean',
default: false,
default: true,
},
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment