-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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: Bitbucket Cloud PR Author is processed correctly (#20769) #20990
fix: Bitbucket Cloud PR Author is processed correctly (#20769) #20990
Conversation
Fixes argoproj#20769 Author there is a struct, not a string. Use nickname from that struct as an author name. Let's cherry pick to 2.11-2.13 Signed-off-by: Andrii Korotkov <[email protected]>
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #20990 +/- ##
=========================================
Coverage ? 55.03%
=========================================
Files ? 324
Lines ? 55466
Branches ? 0
=========================================
Hits ? 30527
Misses ? 22329
Partials ? 2610 ☔ 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.
LGTM!!
/cherry-pick release-2.11 |
/cherry-pick release-2.12 |
Cherry-pick failed with |
/cherry-pick release-2.13 |
Cherry-pick failed with |
Fixes #20769 Author there is a struct, not a string. Use nickname from that struct as an author name. Let's cherry pick to 2.11-2.13 Signed-off-by: Andrii Korotkov <[email protected]>
@andrii-korotkov-verkada seems like cherry-pick failed for 2.11 and 2.12. Would you be able to create cherry-pick PRs manually? |
@ishitasequeira, do you know how to fork specific tags? I've tried to find an option in my existing fork, but couldn't. |
@andrii-korotkov-verkada , what I usually do is checkout to the target branch, create a new branch, and then cherry-pick the specific commit to that branch. All of this on my fork. The command I use to cherry-pick:
Let me know if that helps. |
… (#21039) Fixes #20769 Author there is a struct, not a string. Use nickname from that struct as an author name. Let's cherry pick to 2.11-2.13 Signed-off-by: Andrii Korotkov <[email protected]> Co-authored-by: Andrii Korotkov <[email protected]>
@ishitasequeira, did you clone with all branches? I think I only have master and my own branches in my fork. |
You do not need to pull in all branches. You can pull in only the specific release branches that are needed. For e.g.
|
Thanks! Looks like the author field for Bitbucket was added only in 2.13, that's why cherry pick failed. I think we can still do it, just would be more like adding a small feature. |
Ah, nvm, PullRequest doesn't have a field for Author either. Let's skip 2.11 and 2.12 then. |
argoproj#20990) Fixes argoproj#20769 Author there is a struct, not a string. Use nickname from that struct as an author name. Let's cherry pick to 2.11-2.13 Signed-off-by: Andrii Korotkov <[email protected]> Signed-off-by: Adrian Aneci <[email protected]>
Fixes #20769
Author there is a struct, not a string. Use nickname from that struct as an author name.
Let's cherry pick to 2.11-2.13
Checklist: