-
Notifications
You must be signed in to change notification settings - Fork 6.5k
fix: add target branch support for bitbucket cloud pull request gener… #22402
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
fix: add target branch support for bitbucket cloud pull request gener… #22402
Conversation
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
0fe88ba to
7eb28a4
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #22402 +/- ##
==========================================
+ Coverage 56.09% 56.14% +0.04%
==========================================
Files 343 343
Lines 57545 57546 +1
==========================================
+ Hits 32282 32310 +28
+ Misses 22616 22602 -14
+ Partials 2647 2634 -13 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Could you add unit tests?
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @CMDMichalKoval !!
Could you also update the documentation explaining the new field here ?
|
@ishitasequeira I have updated the docs and added more examples for filters |
|
@crenshaw-dev @ishitasequeira can you look at this, please? |
|
@crenshaw-dev can you please unblock PR and merge it ? |
…ator Signed-off-by: Michal Koval <[email protected]>
Signed-off-by: Michal Koval <[email protected]>
…t.md Signed-off-by: Michal Koval <[email protected]>
f1012db to
dba7c93
Compare
| } | ||
|
|
||
| type BitbucketCloudPullRequestDestinationBranch struct { | ||
| BitbucketCloudPullRequestSourceBranch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I advise not to reuse the fields for source in destination, even when they are the same now. That will let the two evolve separately without nasty surprises to future maintainers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point! I already updated it with own type
Signed-off-by: Michal Koval <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
|
@crenshaw-dev , any more concerns on the PR? |
…est generator (argoproj#22402) Signed-off-by: Michal Koval <[email protected]> Co-authored-by: Ishita Sequeira <[email protected]>
…est generator (argoproj#22402) Signed-off-by: Michal Koval <[email protected]> Co-authored-by: Ishita Sequeira <[email protected]> Signed-off-by: Kanika Rana <[email protected]>
…est generator (argoproj#22402) Signed-off-by: Michal Koval <[email protected]> Co-authored-by: Ishita Sequeira <[email protected]> Signed-off-by: Oliver Gondža <[email protected]>
…est generator (argoproj#22402) Signed-off-by: Michal Koval <[email protected]> Co-authored-by: Ishita Sequeira <[email protected]>
Fix #22005