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

chore: GHA to request reviews from gateway-reviewers #1388

Merged
merged 4 commits into from
May 3, 2023

Conversation

arkodg
Copy link
Contributor

@arkodg arkodg commented May 2, 2023

Adapted from https://stackoverflow.com/questions/66557514/how-to-automatically-request-a-review-from-someone-using-github-actions

* 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>
@arkodg arkodg requested a review from a team as a code owner May 2, 2023 19:54
@arkodg arkodg added the area/ci CI and build related issues label May 2, 2023
@arkodg arkodg requested review from a team, qicz, LanceEa and Xunzhuo and removed request for a team, qicz, LanceEa and Xunzhuo May 2, 2023 19:57
@codecov
Copy link

codecov bot commented May 2, 2023

Codecov Report

Merging #1388 (b2e7637) into main (f998eac) will increase coverage by 0.12%.
The diff coverage is n/a.

@@            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     

see 2 files with indirect coverage changes

@arkodg
Copy link
Contributor Author

arkodg commented May 2, 2023

this is not going to work since the GH TOKEN for forks dont have enough permissions to modify the PR

@arkodg arkodg closed this May 2, 2023
@arkodg arkodg reopened this May 2, 2023
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg closed this May 2, 2023
@arkodg arkodg reopened this May 2, 2023
@arkodg arkodg closed this May 2, 2023
@arkodg arkodg reopened this May 2, 2023
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg closed this May 2, 2023
@arkodg arkodg reopened this May 2, 2023
@arkodg
Copy link
Contributor Author

arkodg commented May 2, 2023

looks like this can only be tested when this GHA lands on main, YOLO

@arkodg arkodg marked this pull request as draft May 2, 2023 22:55
Signed-off-by: Arko Dasgupta <arko@tetrate.io>
@arkodg arkodg marked this pull request as ready for review May 2, 2023 23:20
Copy link
Member

@qicz qicz left a comment

Choose a reason for hiding this comment

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

great job

@arkodg arkodg merged commit 29bcb78 into envoyproxy:main May 3, 2023
@arkodg arkodg deleted the cc-reviewers-pr branch May 3, 2023 03:04
arkodg added a commit to arkodg/gateway that referenced this pull request May 3, 2023
…oxy#1388)"

This reverts commit 29bcb78.

Signed-off-by: Arko Dasgupta <arko@tetrate.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci CI and build related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants