codefresh-io / steps

36 stars 90 forks source link

Adds option to pass `base_branch` to git-commit #627

Closed DrkCloudStrife closed 1 year ago

DrkCloudStrife commented 1 year ago

Identified an issue where we need git-commit to push to a specific feature branch instead of the base_branch. This adds an option to pass a different base_branch when committing changes.

This was influenced by the GH-495 PR by JorSanders. However, this makes it optional and configurable via a new property. I opted against using $CF_BRANCH because git-commit could be targeting a different repo. Which it is in our case, and the branch names may not align.

venkatmarella commented 1 year ago

This is blocking our implementation, could you please expedite this PR to merge.