diff --git a/.triage-policies.yml b/.triage-policies.yml index 317fa16475b8dd0c0524d7e582085eeccb412741..5f1ab2e47fe8ee8acd5c7f6de64951d075421b89 100644 --- a/.triage-policies.yml +++ b/.triage-policies.yml @@ -23,7 +23,23 @@ resource_rules: 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: Inactive issues waiting for input (close) + - name: Remove inactive label if there was activity + conditions: + date: + attribute: updated_at + condition: newer_than + interval_type: days + interval: 60 + state: opened + labels: + - "inactive" + limits: + most_recent: 50 + actions: + remove_labels: + - "inactive" + + - name: Inactive issues (close) conditions: date: attribute: updated_at @@ -36,9 +52,9 @@ resource_rules: condition: less_than threshold: 3 labels: - - "Status: input wanted" + - "inactive" limits: - most_recent: 10 + most_recent: 50 actions: status: close comment: | @@ -66,9 +82,8 @@ resource_rules: milestone: none labels: - "Status: input wanted" - - "Status: Needs reproduction" limits: - most_recent: 10 + most_recent: 50 actions: comment: | Hi, @@ -91,6 +106,8 @@ resource_rules: If no activity for this issue is found whithin the next 30 days, it will be closed automatically. Thanks for your help! :heart: + labels: + - "inactive" - name: Make sure each issue has a Status label conditions: