Skip to content
Snippets Groups Projects
Commit 4eae75fc authored by Anton Sattarov's avatar Anton Sattarov
Browse files

Добавлен запуск Gitlab Triage Bot для perxis-proto

parent 0627c9f8
No related branches found
No related tags found
1 merge request!90Draft: Добавлен запуск Gitlab Triage Bot для perxis-proto
Pipeline #73447 failed
......@@ -90,3 +90,11 @@ release:
name: 'Release $VERSION'
description: '$CI_COMMIT_TAG'
tag_name: '$VERSION'
# -------gitLab-triage-bot-------
run_triage_scheduled:
image: ruby
script:
- gem install gitlab-triage
- gitlab-triage --token $TRIAGE_TOKEN --source-id perxis/perxis-proto
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
\ No newline at end of file
host_url: https://git.perx.ru
resource_rules:
issues:
rules:
- name: Set Milestone
conditions:
state: opened
milestone: none
labels:
- "Status: { ToDo, Doing , Review, Testing, Release }"
actions:
# labels:
# - needs attention
comment: |
{{author}}, {{assignee}}, обратите внимание! Для задачи не выбран Milestone.
- name: Set Estimate
conditions:
state: opened
labels:
- "Status: { ToDo, Doing , Review, Testing, Release }"
forbidden_labels:
- "p: { 0, 1, 2, 3, 5, 8, 13, 20, 40, 100 }"
actions:
# labels:
# - needs attention
comment: |
{{author}}, {{assignee}}, обратите внимание! Задача без оценки.
- name: Outdated Issues
conditions:
date:
attribute: updated_at
condition: older_than
interval_type: weeks
interval: 2
state: opened
forbidden_labels:
- "Status: { Testing, Release }"
limits:
most_recent: 50
actions:
# labels:
# - needs attention
comment: |
{{author}}, {{assignee}}, обратите внимание! Задача слишком долго находится в открытом статусе без изменений.
merge_requests:
rules:
- name: Set Milestone
conditions:
milestone: none
state: opened
actions:
# labels:
# - needs attention
comment_type: thread
comment: |
{{author}}, {{assignee}}, {{reviewers}}, обратите внимание! Для MR не выбран Milestone.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment