summaryrefslogtreecommitdiff
path: root/.triage-policies.yml
blob: 025333f40330f94fce5b42aff5579602fff5b135 (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
host_url: https://gitlab.freedesktop.org

resource_rules:
  issues:
    rules:
      - name: Mark issue as stale with no activity for 4 months
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 4
          state: opened
          forbidden_labels:
            - stale
        actions:
            comment: |
                This issue has been inactive for 4 months and got stale. Contributions welcome to move it forward.
            labels:
                - stale
  merge_requests:
    rules:
      - name: Mark merge-request as stale after no activity for 2 months
        conditions:
          date:
            attribute: updated_at
            condition: older_than
            interval_type: months
            interval: 2
          state: opened
          forbidden_labels:
            - stale
        actions:
            comment: |
                This merge-request has been inactive for 2 months and got stale. Work is necessary to move it forward.
            labels:
                - stale