代码拉取完成,页面将自动刷新
resource_rules:
issues:
rules:
- name: Triage policy
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: days
interval: 30
state: opened
no_additional_labels: true
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
no_additional_labels: true
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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。