Skip to content

Conversation

@mihallis
Copy link
Contributor

Fix #22005

@mihallis mihallis requested a review from a team as a code owner March 19, 2025 09:12
@bunnyshell
Copy link

bunnyshell bot commented Mar 19, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@mihallis mihallis force-pushed the bugfix/add-target-branch-bitbucket-cloud branch from 0fe88ba to 7eb28a4 Compare March 19, 2025 09:18
@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.14%. Comparing base (7d81d1a) to head (e83f598).
⚠️ Report is 479 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

Copy link
Member

@crenshaw-dev crenshaw-dev left a 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?

@mihallis
Copy link
Contributor Author

Thanks for the PR! Could you add unit tests?

Done

@mihallis mihallis requested a review from crenshaw-dev March 20, 2025 13:18
Copy link
Member

@ishitasequeira ishitasequeira left a 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 ?

@mihallis mihallis requested a review from a team as a code owner March 24, 2025 17:00
@mihallis
Copy link
Contributor Author

@ishitasequeira I have updated the docs and added more examples for filters

@mihallis mihallis requested a review from ishitasequeira March 24, 2025 17:05
@mihallis
Copy link
Contributor Author

@crenshaw-dev @ishitasequeira can you look at this, please?

@mihallis
Copy link
Contributor Author

@crenshaw-dev can you please unblock PR and merge it ?

@mihallis mihallis force-pushed the bugfix/add-target-branch-bitbucket-cloud branch from f1012db to dba7c93 Compare April 24, 2025 07:54
}

type BitbucketCloudPullRequestDestinationBranch struct {
BitbucketCloudPullRequestSourceBranch
Copy link
Contributor

@olivergondza olivergondza Apr 24, 2025

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.

Copy link
Contributor Author

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

@mihallis mihallis requested a review from olivergondza April 24, 2025 12:38
Copy link
Contributor

@olivergondza olivergondza left a 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!

Copy link
Member

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

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

LGTM!!

@ishitasequeira ishitasequeira enabled auto-merge (squash) April 27, 2025 21:37
@ishitasequeira ishitasequeira disabled auto-merge April 27, 2025 21:37
@ishitasequeira
Copy link
Member

@crenshaw-dev , any more concerns on the PR?

@crenshaw-dev crenshaw-dev merged commit 99faf82 into argoproj:master May 2, 2025
27 checks passed
LyhengTep pushed a commit to LyhengTep/argo-cd that referenced this pull request May 4, 2025
…est generator (argoproj#22402)

Signed-off-by: Michal Koval <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
ranakan19 pushed a commit to ranakan19/argo-cd that referenced this pull request May 20, 2025
…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]>
olivergondza pushed a commit to olivergondza/argo-cd that referenced this pull request May 20, 2025
…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]>
chansuke pushed a commit to chansuke/argo-cd that referenced this pull request Jun 4, 2025
…est generator (argoproj#22402)

Signed-off-by: Michal Koval <[email protected]>
Co-authored-by: Ishita Sequeira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

targetBranchMatch filter does not work with pullRequest generator for Bitbucket Cloud

4 participants