-
Notifications
You must be signed in to change notification settings - Fork 1.2k
105 lines (95 loc) · 4.83 KB
/
add-assignees.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Assign Problem To Developer
on:
issues:
types: [ opened ]
jobs:
assign-udf-problem-to-developer:
runs-on: ubuntu-latest
if: contains(github.event.issue.title, 'udf') == true || contains(github.event.issue.title, 'udtf') == true || contains(github.event.issue.body, 'udaf') == true
steps:
- name: assign problem to developer of udf
uses: actions-cool/issues-helper@v3
with:
actions: 'add-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
assignees: gaoyan1998,zackyoungh
- name: Assign developer Comment
uses: actions-cool/issues-helper@v1.7
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
body: |
Hello, this issue is about UDF, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.
你好, 这个 issue 是关于 UDF 的,所以我把它分配给了 @gaoyan1998 和 @zackyoungh。如有任何问题,可以评论回复。
assign-k8s-problem-to-developer:
runs-on: ubuntu-latest
if: contains(github.event.issue.title, 'k8s') == true || contains(github.event.issue.title, 'kubernetes') == true || contains(github.event.issue.body, 'kubernetes') == true
steps:
- name: assign problem to developer of k8s
uses: actions-cool/issues-helper@v3
with:
actions: 'add-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
assignees: gaoyan1998,zackyoungh
- name: Assign developer Comment
uses: actions-cool/issues-helper@v1.7
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
body: |
Hello, this issue is about K8S, so I assign it to @gaoyan1998 and @zackyoungh. If you have any questions, you can comment and reply.
你好, 这个 issue 是关于 K8S 的,所以我把它分配给了 @gaoyan1998 和 @zackyoungh。如有任何问题,可以评论回复。
assign-web-problem-to-developer:
runs-on: ubuntu-latest
if: contains(github.event.issue.title, 'web') == true || contains(github.event.issue.body, 'web') == true
steps:
- name: assign problem to developer of web
uses: actions-cool/issues-helper@v3
with:
actions: 'add-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
assignees: Zzm0809
- name: Assign developer Comment
uses: actions-cool/issues-helper@v1.7
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
body: |
Hello, this issue is about web, so I assign it to @Zzm0809. If you have any questions, you can comment and reply.
你好, 这个 issue 是关于 web 的,所以我把它分配给了 @Zzm0809。如有任何问题,可以评论回复。
assign-cdc-problem-to-developer:
runs-on: ubuntu-latest
if: contains(github.event.issue.title, 'cdc') == true || contains(github.event.issue.title, 'cdcsource') == true || contains(github.event.issue.body, 'pipeline') == true
steps:
- name: assign problem to developer of cdc and cdcsource
uses: actions-cool/issues-helper@v3
with:
actions: 'add-assignees'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
assignees: aiwenmo
- name: Assign developer Comment
uses: actions-cool/issues-helper@v1.7
with:
actions: 'create-comment'
issue-number: ${{ github.event.issue.number }}
body: |
Hello, this issue is about CDC/CDCSOURCE, so I assign it to @aiwenmo. If you have any questions, you can comment and reply.
你好, 这个 issue 是关于 CDC/CDCSOURCE 的,所以我把它分配给了 @aiwenmo。如有任何问题,可以评论回复。