Steps-git-clone should allow to clone more selected branches or all the repository branches

stack-updates
#1

Description of the feature request

The step steps-git-clone should allow to clone the whole repository with all its branches (I know this was the default behaviour but it was discarded), or possibly specific branches along with the active branch being built.

Use case / for what or how I would use it

In my specific case, it would be very useful. I’m trying to upload each branch to SonarCloud, which evaluates non-main branches with respect to differences with the main branch. This, however, requires to have both the active branch and the main branch locally.

0 Likes