-
Notifications
You must be signed in to change notification settings - Fork 301
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
chore: GHA to request reviews from gateway-reviewers #1388
Conversation
* GH recommends using CODEOWNERS to automatically request reviewers on PRs. https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#about-code-owners. However the teams mentioned within the `CODEOWNERS` file must have WRITE access. Since this is not the case for `envoyproxy/gateway-reviewers` who have `triage` access today, this PR adds a Github Action that adds envoyproxy/gateway-reviewers as reviewers using the GH CLI whenever a PR is opened Adapted from https://stackoverflow.com/questions/66557514/how-to-automatically-request-a-review-from-someone-using-github-actions Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Codecov Report
@@ Coverage Diff @@
## main #1388 +/- ##
==========================================
+ Coverage 62.40% 62.53% +0.12%
==========================================
Files 78 78
Lines 10953 10953
==========================================
+ Hits 6835 6849 +14
+ Misses 3667 3655 -12
+ Partials 451 449 -2 |
this is not going to work since the GH TOKEN for forks dont have enough permissions to modify the PR |
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
looks like this can only be tested when this GHA lands on |
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
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.
great job
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners#about-code-owners. However the teams mentioned within the
CODEOWNERS
file must have WRITE access. Since this is not the case forenvoyproxy/gateway-reviewers
who havetriage
access today, this PR adds a Github Action that adds envoyproxy/gateway-reviewers as reviewers using the GH CLI whenever a PR is openedAdapted from https://stackoverflow.com/questions/66557514/how-to-automatically-request-a-review-from-someone-using-github-actions