Skip to content

Commit 02f0157

Browse files
authored
ci: update prow bot (#883)
1 parent a81bb9d commit 02f0157

File tree

2 files changed

+29
-30
lines changed

2 files changed

+29
-30
lines changed

.github/workflows/kube-bot.yaml

Lines changed: 11 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,6 @@ on:
2525
- opened
2626

2727
env:
28-
# REVIEWERS: |-
29-
#
30-
APPROVERS: |-
31-
Xunzhuo
32-
ZLBer
33-
rayowang
34-
LXPWing
35-
Zhiqiang Li
36-
MAINTAINERS: |-
37-
MoonShining
38-
wenxuwan
39-
seeflood
40-
zhenjunMa
41-
nejisama
42-
doujiang24
43-
ujjboy
44-
JervyShi
45-
4628
# This commands is for anyone who can use it
4729
COMMON_PLUGINS: |-
4830
assign
@@ -71,7 +53,6 @@ env:
7153
APPROVERS_PLUGINS: |-
7254
merge
7355
approve
74-
rebase
7556
milestone
7657
remove-milestone
7758
priority
@@ -85,15 +66,6 @@ env:
8566
8667
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8768
GH_REPOSITORY: ${{ github.repository }}
88-
HELP_INFO: |-
89-
90-
<details>
91-
<summary>Help</summary>
92-
93-
Instructions for interacting with me using comments are available here.
94-
If you have questions or suggestions related to my behavior, please file an issue against the [kube-prow-bot](https://github.com/Xunzhuo/kube-prow-bot) repository.
95-
96-
</details>
9769

9870
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
9971
permissions:
@@ -141,10 +113,18 @@ jobs:
141113
ISSUE_KIND: pr
142114
TYPE: created
143115
GREETING: |-
144-
Hi @${{ github.event.pull_request.user.login }},
145-
Thanks for your pull request! 🎉
116+
Hi @${{ github.event.pull_request.user.login }}. Thanks for your PR! 🎉
146117
If the PR is ready, use the `/cc` command to assign reviewer to review.
147118
119+
<details>
120+
<summary>Details</summary>
121+
122+
The full list of commands accepted by this bot can be found [here](https://github.com/Xunzhuo/kube-prow-bot/blob/main/COMMAND.md).
123+
124+
The pull request process is described [here](https://github.com/Xunzhuo/kube-prow-bot/blob/main/PROCESS.md).
125+
126+
</details>
127+
148128
- name: Issue Commented
149129
uses: Xunzhuo/[email protected]
150130
if: ${{ github.event_name == 'issue_comment' && !github.event.issue.pull_request }}
@@ -177,6 +157,7 @@ jobs:
177157
AUTHOR: ${{ github.event.pull_request.user.login }}
178158
MESSAGE: ${{ github.event.review.body }}
179159
ISSUE_NUMBER: ${{ github.event.pull_request.number }}
160+
PR_STATE: ${{ github.event.review.state }}
180161
AUTHOR_ASSOCIATION: ${{ github.event.comment.author_association }}
181162
ISSUE_KIND: pr
182163
TYPE: comment

OWNERS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners
2+
3+
maintainers:
4+
- MoonShining
5+
- wenxuwan
6+
- seeflood
7+
- zhenjunMa
8+
- nejisama
9+
- doujiang24
10+
- ujjboy
11+
- JervyShi
12+
13+
approvers:
14+
- Xunzhuo
15+
- stulzq
16+
- ZLBer
17+
- rayowang
18+
- LXPWing

0 commit comments

Comments
 (0)