mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
0670f958fe
An issue/merge-requests only moves forward by a human putting effort in. Wether the issue is open, closed, autoclosed or flagged with a "stale" label doesn't matter in theory. In practice, humans don't like getting their issues/merge-requests autoclosed. Instead, add a "stale" label. There was always a benefit of this automatic action. It tended to generate some feedback and new action. Sometimes it even brought new attention to the issue/merge-request to get it fixed. That is hopefully also the case with the stale label.
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
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
|