summaryrefslogtreecommitdiff
path: root/.triage-policies.yml
blob: d97c0c47067420c1b3b5ba51f58fbfd4acc48e88 (plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
resource_rules:
  issues:
    rules:
      - name: Close stale issues with no milestone or planning labels
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 18
          milestone:
            - No Milestone
          forbidden_labels:
            - 2. Deliverable
            - 2. Stretch
            - 1. Epic
            # Features are handled in a different rule
            - 1. Feature
            - 1. Enhancement
            - Bot Exception
          state: opened
        actions:
          status: close
          labels:
            - 15. Auto Updated
          comment: |
            Hi,

            Thank you for raising an issue to help improve Nautilus. We're sorry this particular issue has gone unnoticed for quite some time.

            This issue will be closed, as it meets the following criteria:
            * No activity in the past 18 months (3 releases).
            * Unscheduled. Not associated with a milestone or with ~"2. Deliverable" or ~"2. Stretch" project planning labels.

            We'd like to ask you to help us keep our issue tracker organized  by determining whether this issue should be reopened.

            If this issue is reporting a bug, let us know if this issue is still present in a newer version and if you can reproduce it in the [nightly version](https://wiki.gnome.org/Apps/Nightly).

            Thanks for your help!

            ---

            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715

      - name: Mark stale unlabelled issues for triage
        conditions:
          date:
            attribute: created_at
            condition: older_than
            interval_type: months
            interval: 2
          # We want to handle those that doesn't have these labels, including those with other labels.
          forbidden_labels:
            - 1. Bug
            - 1. Crash
            - 1. Epic
            - 1. Feature
            - 1. Enhancement
            - 1. Regression
            - Bot Exception
          state: opened
        actions:
          labels:
            - 15. Untriaged
          summarize:
            title: Issues that need triaging
            item: |
              - {{web_url}} - {{title}} - {{labels}}
            summary: |
              The following issues were created two months ago and they are unlabeled:

              {{items}}

              /cc @Teams/BugSquad

      - name: Close old feature proposals without planning labels or milestones
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 12
          labels:
            - 1. Feature
          forbidden_labels:
            - 2. Deliverable
            - 2. Stretch
            - 1. Epic
            - Bot Exception
          milestone:
            - No Milestone
          state: opened
          upvotes:
            attribute: upvotes
            condition: less_than
            threshold: 5
        actions:
          labels:
            - 15. Auto Updated
          status: close
          comment: |
            Hi,

            First of all, thank you for raising an issue to help improving Nautilus. In order to maintain order in the issue tracker we are closing old, unscheduled feature proposals.

            Unfortunately, no Merge Request has been provided for this, and/or the project contributors are not planning this feature in the foreseeable future.

            This issue will be closed as it meets the following criteria:
            * No activity in more than 12 months
            * Labeled as ~"1. Feature"
            * Not associated with a milestone or with ~"2. Deliverable" or ~"2. Stretch" project planning labels.
            
            Thanks for your help!

            ---

            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715

      - name: Close issues that need information and weren't updated 
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: weeks
            interval: 4
          state: opened
          labels:
            - 2. Needs Information
          forbidden_labels:
            - Bot Exception
        actions:
          status: close
          labels:
            - 15. Auto Updated
          comment: |
            Closing this issue as no further information or feedback has been provided.

            Please feel free to reopen this issue if you can provide the information or feedback.

            Thanks for your help!

            ---

            This is an automatic message. If you have suggestions to improve this automatic action feel free to add a comment on https://gitlab.gnome.org/GNOME/nautilus/issues/715