Verified Commit c3af92f5 authored by Georg Krause's avatar Georg Krause
Browse files

Allow issues to be untriaged for some time, enforce ticket workflow

parent 15ae4b4f
Pipeline #13892 passed with stage
in 48 seconds
...@@ -19,47 +19,11 @@ resource_rules: ...@@ -19,47 +19,11 @@ resource_rules:
labels: labels:
- "Status: Need triage" - "Status: Need triage"
comment: | comment: |
This issue is unlabelled after 3 days. It needs attention. Please take care of this before the end of #{2.days.from_now.strftime('%Y-%m-%d')} Thanks a lot for reporting your experience with Funkwhale! :whale:
A member of the team will have a look at this ticket as soon as possible. Afterwards this ticket will follow
our issue workflow. We would really appreciate if you could check back to answer questions. Enjoy!
- name: Untriaged issues - name: Inactive issues waiting for input (close)
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: days
interval: 5
state: opened
labels:
- "Status: Need triage"
no_additional_labels: true
limits:
most_recent: 20
actions:
mention:
- funkwhale/steering-commitee
comment: |
This issue is untriaged after 5 days. It needs attention. Please take care of this before the end of #{2.days.from_now.strftime('%Y-%m-%d')}
- name: Untriaged issues (close)
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: days
interval: 7
state: opened
labels:
- "Status: Need triage"
no_additional_labels: true
limits:
most_recent: 10
actions:
comment: |
This issue is unlabelled after 7 days, and was closed automatically as such. Please label it and reopen itif it is still relevant.
status: close
- name: Inactive unscheduled issues (close)
conditions: conditions:
date: date:
attribute: updated_at attribute: updated_at
...@@ -67,11 +31,12 @@ resource_rules: ...@@ -67,11 +31,12 @@ resource_rules:
interval_type: days interval_type: days
interval: 90 interval: 90
state: opened state: opened
milestone: none
upvotes: upvotes:
attribute: upvotes attribute: upvotes
condition: less_than condition: less_than
threshold: 3 threshold: 3
labels:
- "Status: input wanted"
limits: limits:
most_recent: 10 most_recent: 10
actions: actions:
...@@ -81,8 +46,8 @@ resource_rules: ...@@ -81,8 +46,8 @@ resource_rules:
We're posting this message because this issue meets the following criteria: We're posting this message because this issue meets the following criteria:
* We requested input which is required to proceed working on this
* No activity in the past 90 days (since {{updated_at}}) * No activity in the past 90 days (since {{updated_at}})
* No milestone (unscheduled)
* Less than 3 upvotes * Less than 3 upvotes
We're closing it to avoid cluttering the issue tracker, but if if you think We're closing it to avoid cluttering the issue tracker, but if if you think
...@@ -90,7 +55,7 @@ resource_rules: ...@@ -90,7 +55,7 @@ resource_rules:
Thanks! Thanks!
- name: Inactive unscheduled issues (warn) - name: Inactive issues waiting for input (warn)
conditions: conditions:
date: date:
attribute: updated_at attribute: updated_at
...@@ -99,8 +64,9 @@ resource_rules: ...@@ -99,8 +64,9 @@ resource_rules:
interval: 60 interval: 60
state: opened state: opened
milestone: none milestone: none
forbidden_labels: labels:
- "Status: input wanted" - "Status: input wanted"
- "Status: Needs reproduction"
limits: limits:
most_recent: 10 most_recent: 10
actions: actions:
...@@ -109,8 +75,8 @@ resource_rules: ...@@ -109,8 +75,8 @@ resource_rules:
We're posting this message because this issue meets the following criteria: We're posting this message because this issue meets the following criteria:
* We requested input which is required to proceed working on this
* No activity in the past 60 days (since {{updated_at}}) * No activity in the past 60 days (since {{updated_at}})
* No milestone (unscheduled)
We'd like to ask you to help us out and determine how we should act on this issue. We'd like to ask you to help us out and determine how we should act on this issue.
...@@ -126,8 +92,14 @@ resource_rules: ...@@ -126,8 +92,14 @@ resource_rules:
Thanks for your help! :heart: Thanks for your help! :heart:
labels: - name: Make sure each issue has a Status label
- "Status: input wanted" conditions:
forbidden_labels:
- "Status: { Blocked, Draft, input wanted, Needs Design, Needs reproduction, Need triage, Ready, Review wanted }"
state: opened
actions:
labels:
- "Status: Need triage"
merge_requests: merge_requests:
rules: rules:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment