Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.triage-policies.yml - gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e62cc33243dea5501d97c36837598f4e7fbe6dce (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
resource_rules:
  issues:
    rules:
      - name: Close older than 9 Months
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 9
          state: opened
          forbidden_labels:
            - Status::Backlog
        limits:
          most_recent: 50
        actions:
          status: close
          comment: |
            {{author}} This issue was closed due to not being updated for a long time. Please re-open it if still relevant.
            CC {{assignees}}

      - name: Unlabelled after 8 days
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: days
            interval: 8
          state: opened
          no_additional_labels: true
        limits:
          most_recent: 50
        actions:
          labels:
            - needs attention
          comment: |
            {{author}} This issue has gone unlabelled for 8 days. It needs somone to label it.
          summarize:
            title: |
              #{resource[:type].capitalize} require labels
            item: |
              - [ ] [{{title}}]({{web_url}}) {{labels}}
            redact_confidential_resources: false
            summary: |
              The following issues require labels:

              {{items}}

              Please take care of them.

              /label ~"needs attention"

      - name: Close old "needinfo" policy
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 1
          state: opened
          labels:
            - needinfo
        limits:
          most_recent: 50
        actions:
          status: close
          comment: |
            {{author}} This issue is now closed due to being marked as "needinfo" with no updates for a long time. Please re-open it if still relevant.
            CC {{assignees}}

      - name: Close old "waiting for feedback" policy
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 1
          state: opened
          labels:
            - waiting for feedback
        limits:
          most_recent: 50
        actions:
          status: close
          comment: |
            {{author}} This issue is now closed due to being marked as "waiting for feedback" with no updates for a long time. Please re-open it if still relevant.
            CC {{assignees}}

      - name: Close old "needs attention" policy
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 2
          state: opened
          labels:
            - needs attention
        limits:
          most_recent: 50
        actions:
          status: close
          comment: |
            {{author}} This issue is now closed due to being marked as "needs attention" with no updates for a long time. Please re-open it if still relevant.
            CC {{assignees}}

  merge_requests:
    rules:
      - name: Close old "WIP" policy
        conditions:
          title: WIP
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 4
          state: opened
          no_additional_labels: true
        limits:
          most_recent: 50
        actions:
          status: close
          comment: |
            {{author}} This merge request was closed due to being marked as "work in progress" with no updates for a very long time. Please re-open it if interested in finishing it. :)
            CC {{assignees}}