Skip to content

Commit 557591e

Browse files
authored
ci: add PR comment and cc reviewers (#2280)
* feat: welcome comment and auto cc gateway reviewers Signed-off-by: bitliu <[email protected]> * update Signed-off-by: bitliu <[email protected]> * fix lint Signed-off-by: bitliu <[email protected]> --------- Signed-off-by: bitliu <[email protected]>
1 parent 52af65e commit 557591e

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/welcome.yaml

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Welcome
2+
3+
on:
4+
pull_request_target:
5+
types: [opened]
6+
7+
jobs:
8+
comment:
9+
permissions:
10+
pull-requests: write
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Comment
14+
uses: peter-evans/create-or-update-comment@v3
15+
with:
16+
issue-number: ${{ github.event.pull_request.number }}
17+
body: |
18+
🚀 Thank you for contributing to the [Envoy Gateway](https://gateway.envoyproxy.io/) project! 🚀
19+
20+
Before merging, please ensure to follow the process below:
21+
22+
1. Requesting Reviews:
23+
- cc @envoyproxy/gateway-reviewers team for an initial review.
24+
- After the initial review, reviewers should request the @envoyproxy/gateway-maintainers team for further review.
25+
2. Review Approval:
26+
- Your PR needs to receive at least two approvals.
27+
- At least one approval must come from a member of the gateway-maintainers team.
28+
29+
**NOTE**: Once your PR is under review, ***please do not rebase and force push it***. Otherwise, it will force your reviewers to review the PR from scratch rather than simply look at your latest changes.
30+
31+
<details>
32+
<summary> What's more, you can help expedite the processing of your PR by </summary>
33+
<br>
34+
35+
- Ensuring you have self-reviewed your work according to the project's [Contribution Guidelines](https://gateway.envoyproxy.io/latest/contributions/develop).
36+
- If your PR addresses a specific issue, make sure to mention it in the PR description.
37+
- Respond promptly if there are any test failures or suggestions for improvements that we comment on.
38+
39+
</details>
40+
reactions: 'heart'

0 commit comments

Comments
 (0)