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

Feature/invite after cherry pick pr created #1011

Merged
merged 21 commits into from
Sep 21, 2022
Merged

Feature/invite after cherry pick pr created #1011

merged 21 commits into from
Sep 21, 2022

Conversation

wuhuizuo
Copy link
Contributor

No description provided.

@ti-chi-bot
Copy link
Member

ti-chi-bot commented Aug 23, 2022

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • Mini256

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added dco-signoff: yes Indicates the PR's author has signed the dco. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 23, 2022
@wuhuizuo wuhuizuo requested review from Mini256 and removed request for purelind and zuo-bot-2 August 23, 2022 10:47
@github-actions
Copy link

github-actions bot commented Aug 23, 2022

🎊 PR Preview 9b13d8b has been successfully built and deployed to https://ti-community-infra-tichi-preview-pr-1011.surge.sh

🕐 Build time: 0.017s

🤖 By surge-preview

@wuhuizuo
Copy link
Contributor Author

/cc @Mini256

@codecov
Copy link

codecov bot commented Aug 23, 2022

Codecov Report

Merging #1011 (9b13d8b) into master (c1a2975) will increase coverage by 0.11%.
The diff coverage is 86.36%.

@@            Coverage Diff             @@
##           master    #1011      +/-   ##
==========================================
+ Coverage   80.39%   80.51%   +0.11%     
==========================================
  Files          20       21       +1     
  Lines        3265     3321      +56     
==========================================
+ Hits         2625     2674      +49     
- Misses        413      418       +5     
- Partials      227      229       +2     
Impacted Files Coverage Δ
internal/pkg/externalplugins/lgtm/lgtm.go 75.74% <ø> (ø)
internal/pkg/externalplugins/plugins.go 76.47% <ø> (ø)
...xternalplugins/cherrypicker/cherrypicker_invite.go 84.78% <84.78%> (ø)
...l/pkg/externalplugins/cherrypicker/cherrypicker.go 62.09% <90.00%> (+0.84%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@ti-chi-bot ti-chi-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 24, 2022
@ti-chi-bot ti-chi-bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Aug 26, 2022
@ti-chi-bot ti-chi-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 26, 2022
Copy link
Member

@Mini256 Mini256 left a comment

Choose a reason for hiding this comment

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

Also update the help provider and docs.

internal/pkg/externalplugins/cherrypicker/cherrypicker.go Outdated Show resolved Hide resolved
cmd/ticommunitycherrypicker/github.go Outdated Show resolved Hide resolved
cmd/ticommunitycontribution/main.go Outdated Show resolved Hide resolved
@wuhuizuo wuhuizuo requested a review from Mini256 September 19, 2022 12:16
@wuhuizuo
Copy link
Contributor Author

@Mini256 I updated the documents, please take a look.

Copy link
Member

@Mini256 Mini256 left a comment

Choose a reason for hiding this comment

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

🤔 Maybe we should limit only cherry-pick pr can handle the /cherry-pick-invite command.

Rest LGTM. Well Done! 👍

And please make full tests in the test-dev repo.

@@ -166,6 +169,14 @@ func HelpProvider(epa *tiexternalplugins.ConfigAgent) externalplugins.ExternalPl
WhoCanUse: "Members of the trusted organization for the repo or anyone(depends on the AllowAll configuration).",
Examples: []string{"/cherrypick release-3.9", "/cherry-pick release-1.15"},
})
pluginHelp.AddCommand(pluginhelp.Command{
Usage: cherryPickInviteExample,
Description: "Request a collaborator invitation" +
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Description: "Request a collaborator invitation" +
Description: "Request a collaborator invitation (Only works in cherry-pick pull requests)." +

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Next PR

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Sep 19, 2022
@wuhuizuo
Copy link
Contributor Author

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: 9b13d8b

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Sep 21, 2022
ti-chi-bot added a commit that referenced this pull request Sep 21, 2022
@ti-chi-bot ti-chi-bot merged commit ef7f829 into ti-community-infra:master Sep 21, 2022
@ti-chi-bot ti-chi-bot deleted the feature/invite-after-cherry-pick-pr-created branch September 21, 2022 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dco-signoff: yes Indicates the PR's author has signed the dco. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT1 Indicates that a PR has LGTM 1.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants