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

Add CODEOWNERS file to repo to auto-assign reviews #429

Merged
merged 1 commit into from
Apr 5, 2022
Merged

Conversation

CPerezz
Copy link
Member

@CPerezz CPerezz commented Apr 5, 2022

Since the solution #428 is impossible to implement as a bug affecting
the gh actions prevents it.
An alternative to automatically assign reviews for the reviewing team is
to use a CODEOWNERS file.

So this PR adds this file configured to assign all reviews to
appliedzkp/zkevm-reviewers and also Miha specifically to any state
circuit PR.

Resolves: #423

@CPerezz CPerezz force-pushed the auto_reviews branch 3 times, most recently from adfffdc to 523eb43 Compare April 5, 2022 12:43
Since the solution #428 is impossible to implement as a bug affecting
the gh actions prevents it.
An alternative to automatically assign reviews for the reviewing team is
to use a CODEOWNERS file.

So this PR adds this file configured to assign all reviews to
`appliedzkp/zkevm-reviewers` and also Miha specifically to any state
circuit PR.

Resolves: #423
Copy link
Collaborator

@ChihChengLiang ChihChengLiang left a comment

Choose a reason for hiding this comment

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

LGTM

@CPerezz CPerezz merged commit 19cc589 into main Apr 5, 2022
@CPerezz CPerezz deleted the auto_reviews branch April 5, 2022 15:47
CPerezz added a commit that referenced this pull request Apr 7, 2022
Adds `scroll-tech/zkevm-reviewers` to CODEOWNERS file
to be requested for reviews of:
- zkevm-circuits crate
- bus-mapping crate

This is a follow-up PR of #429
CPerezz added a commit that referenced this pull request Apr 7, 2022
Adds `scroll-tech/zkevm-reviewers` to CODEOWNERS file
to be requested for reviews of:
- zkevm-circuits crate
- bus-mapping crate

This is a follow-up PR of #429
CPerezz added a commit that referenced this pull request Apr 8, 2022
Deprecates #438 and instead adds the external_reviewers to the PR
reviews using a 3rd party application.

That is done like this to avoid including a lot of people into
`appliedzkp` org and granting custom permissions each time we want to
add a new reviewer.

Resolves: #429 completely.
CPerezz added a commit that referenced this pull request Apr 8, 2022
Deprecates #438 and instead adds the external_reviewers to the PR
reviews using a 3rd party application.

That is done like this to avoid including a lot of people into
`appliedzkp` org and granting custom permissions each time we want to
add a new reviewer.

Resolves: #429 completely.
CPerezz added a commit that referenced this pull request Apr 12, 2022
Deprecates #438 and instead adds the external_reviewers to the PR
reviews using a 3rd party application.

That is done like this to avoid including a lot of people into
`appliedzkp` org and granting custom permissions each time we want to
add a new reviewer.

Resolves: #429 completely.
CPerezz added a commit that referenced this pull request Apr 12, 2022
Deprecates #438 and instead adds the external_reviewers to the PR
reviews using a 3rd party application.

That is done like this to avoid including a lot of people into
`appliedzkp` org and granting custom permissions each time we want to
add a new reviewer.

Resolves: #429 completely.
CPerezz added a commit that referenced this pull request Apr 13, 2022
* feat: Add PR requester for external reviewers

Deprecates #438 and instead adds the external_reviewers to the PR
reviews using a 3rd party application.

That is done like this to avoid including a lot of people into
`appliedzkp` org and granting custom permissions each time we want to
add a new reviewer.

Resolves: #429 completely.

* Trigger workflow only when PR is opened

Force-pushing to the PR currently re-triggers the workflow by assigning
to the PR a new member of the team while mantaining the previous.
That's an issue as we end up with multiple reviewers on each PR when
indeed we just need one.

See: uesteibar/reviewer-lottery#26 for more
details.
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.

Implement a workflow to automatically select reviewers for PRs
2 participants