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

Gitstream: Automatically assign reviewers #1751

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

damianhxy
Copy link
Member

@damianhxy damianhxy commented Feb 1, 2023

Description

  • Assign one reviewer with < 25% familiarity with PR changes
  • Assign one reviewer with > 25% familiarity with PR changes

Motivation and Context

To spread knowledge of the code base, assign a reviewer unfamiliar with a PR's changes.

To ensure good quality reviews, assign a reviewer familiar with a PR's changes.

How Has This Been Tested?

N/A

Examples taken / adapted from:
https://docs.gitstream.cm/examples/#assign-the-relevant-reviewers-to-prs
https://docs.gitstream.cm/examples/#share-knowledge

@gitstream-cm
Copy link

gitstream-cm bot commented Feb 1, 2023

 /:\ gitStream DRY RUN 

gitstream/estimated_time_to_review

• add label 1 min review with color 36A853

gitstream/familiar_reviewer

• add comment ` 👋 Suggested reviewers: no user matched

They contributed more than 25% of the lines:

To learn more about /:\ gitStream - Visit our Docs

`

gitstream/share_knowledge

• add comment ` 👋 Suggested reviewers: no user matched

They contributed less than 25% of the lines:

To learn more about /:\ gitStream - Visit our Docs

`


To activate these actions - merge this PR into the main branch
Learn more on the gitStream Docs

Copy link
Contributor

@victorhuangwq victorhuangwq left a comment

Choose a reason for hiding this comment

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

LGTM

@gitstream-cm
Copy link

gitstream-cm bot commented Feb 1, 2023

 /:\ gitStream DRY RUN 

gitstream/estimated_time_to_review

• add label 1 min review with color 36A853

gitstream/familiar_reviewer

• add comment ` 👋 Suggested reviewers: no user matched

They contributed more than 25% of the lines:

To learn more about /:\ gitStream - Visit our Docs

`

gitstream/share_knowledge

• add comment ` 👋 Suggested reviewers: no user matched

They contributed less than 25% of the lines:

To learn more about /:\ gitStream - Visit our Docs

`


To activate these actions - merge this PR into the main branch
Learn more on the gitStream Docs

@damianhxy damianhxy merged commit d4d719e into master Feb 1, 2023
@damianhxy damianhxy deleted the gitstream-assign-reviewers branch February 1, 2023 02:11
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.

2 participants