Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

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

Merged
CPerezz merged 1 commit into
mainfrom
auto_reviews
Apr 5, 2022
Merged

Add CODEOWNERS file to repo to auto-assign reviews#429
CPerezz merged 1 commit into
mainfrom
auto_reviews

Conversation

@CPerezz
Copy link
Copy Markdown
Contributor

@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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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