forked from aivero/contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.triage-policies.yml
48 lines (48 loc) · 1.71 KB
/
.triage-policies.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
resource_rules:
issues:
rules:
- name: Notify creator of all unlabelled issues
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: days
interval: 5
state: opened
labels:
- None
actions:
labels:
- "workflow::unknown-missing"
comment: |
{{author}} This issue is unlabelled after 5 days. It needs attention. Please take care of this before the end of #{2.days.from_now.strftime('%Y-%m-%d')}
- name: Force a workflow label
conditions:
state: opened
forbidden_labels:
- "workflow::discovery backlog"
- "workflow::breakdown"
- "workflow::estimation"
- "workflow::ready"
- "workflow::in progress"
- "workflow::in review"
- "workflow::verification"
- "workflow::blocked"
- "workflow::on ice❄"
- "workflow::needs clarification"
actions:
labels:
- "workflow::unknown-missing"
comment: |
{{author}} This issue is missing a workflow label. It needs attention. Please take care of this before the end of #{2.days.from_now.strftime('%Y-%m-%d')}
- name: Force a client label
conditions:
state: opened
forbidden_labels:
- "client::aivero"
- "client::unknown"
actions:
labels:
- "client::unknown"
comment: |
{{author}} This issue is missing a client label. It needs attention. Please take care of this before the end of #{2.days.from_now.strftime('%Y-%m-%d')}