feat(branchNameStrict)!: remove forward slashes from non-prefix part of branchName (#32278)
Update logic for branchNameStrict=true so that it also removes forward slashes from branch names, with the exception of the `branchPrefix` part. In other words, if you leave the default `branchPrefix="renovate/"` then you'll get branch names like `renovate/foo-bar-42-x` instead of today's `renovate/foo/bar-42-x`. BREAKING CHANGE: Branch names with multiple forward slashes will change if branchNameStrict=true
Showing
- docs/usage/configuration-options.md 6 additions, 1 deletiondocs/usage/configuration-options.md
- docs/usage/examples/self-hosting.md 1 addition, 1 deletiondocs/usage/examples/self-hosting.md
- lib/workers/repository/updates/branch-name.spec.ts 16 additions, 0 deletionslib/workers/repository/updates/branch-name.spec.ts
- lib/workers/repository/updates/branch-name.ts 11 additions, 2 deletionslib/workers/repository/updates/branch-name.ts
- tools/docker/Dockerfile 1 addition, 1 deletiontools/docker/Dockerfile
Loading
Please register or sign in to comment