Dependabot creates branches with name like this - dependabot/bundler/<gem_name_and_version>. Docker uses "/" character to separate docker repo and image name. So it raises an error when we have mulitiple chars in image name.
This PR sanitizes branch name by replacing "/" symbol by "_". Sanitized name doesn't change branch name, it is used for docker tag only.
Summary
Dependabot creates branches with name like this -
dependabot/bundler/<gem_name_and_version>
. Docker uses "/" character to separate docker repo and image name. So it raises an error when we have mulitiple chars in image name.This PR sanitizes branch name by replacing "/" symbol by "_". Sanitized name doesn't change branch name, it is used for docker tag only.
References