summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rühsen <tim.ruehsen@gmx.de>2019-02-10 07:26:01 +0000
committerTim Rühsen <tim.ruehsen@gmx.de>2019-02-10 07:26:01 +0000
commit63760f643e8c46dca293de85daccd2bfef10fc46 (patch)
treeb25391d565789374a446b722178c7cf974bdc0e0
parentda3f063b61fbc4e79cc88559ead6ec02444c9836 (diff)
parent6533ae087986a9666c0419966ec6f0815ef3c2ad (diff)
downloadgnutls-63760f643e8c46dca293de85daccd2bfef10fc46.tar.gz
Merge branch 'tmp-gitlab-triage' into 'master'
.triage-policies.yml: added [ci skip] See merge request gnutls/gnutls!908
-rw-r--r--.triage-policies.yml71
1 files changed, 71 insertions, 0 deletions
diff --git a/.triage-policies.yml b/.triage-policies.yml
new file mode 100644
index 0000000000..9112070196
--- /dev/null
+++ b/.triage-policies.yml
@@ -0,0 +1,71 @@
+resource_rules:
+ issues:
+ rules:
+ - name: Triage policy
+ conditions:
+ date:
+ attribute: updated_at
+ condition: older_than
+ interval_type: days
+ interval: 30
+ state: opened
+ labels:
+ - No Label
+ limits:
+ most_recent: 50
+ actions:
+ labels:
+ - needs attention
+ comment: |
+ {{author}} This issue is unlabelled after 30 days. It needs attention.
+ 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 was marked as needinfo with no update for long time. We are now closing it, but please re-open if it is still relevant.
+
+ 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
+ labels:
+ - No Label
+ limits:
+ most_recent: 50
+ actions:
+ status: close
+ comment: |
+ {{author}} This merge request is marked as work in progress with no update for very long time. We are now closing it, but please re-open if you are still interested in finishing this merge request.