Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use the same ref to check branch existance and merge-base calculation #601

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

jouve
Copy link
Contributor

@jouve jouve commented Oct 3, 2023

What this PR does / why we need it:

#511 added the BranchExists check, but it used the value of --target-branch while MergeBase used the compound value of --remote/--target-branch

this PR changes BranchExists to use the same value as MergeBase.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #577 #580

Special notes for your reviewer:

Copy link
Member

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@cpanato cpanato merged commit 10aaf46 into helm:main Oct 27, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] targetBranch needs remote
3 participants