mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-08-10 18:31:50 +08:00
.gitlab-ci.yml: added auto-triage rules
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
This commit is contained in:
@@ -472,3 +472,15 @@ pages:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
triage:
|
||||||
|
stage: testing
|
||||||
|
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD
|
||||||
|
script:
|
||||||
|
- gem install gitlab-triage
|
||||||
|
- gitlab-triage --source-id openconnect/ocserv --token "$API_TOKEN"
|
||||||
|
tags:
|
||||||
|
- shared
|
||||||
|
- linux
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
resource_rules:
|
||||||
|
issues:
|
||||||
|
rules:
|
||||||
|
- 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. This is an automated message.
|
||||||
|
|
||||||
|
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. This is an automated message.
|
||||||
Reference in New Issue
Block a user