FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 2771deb0 authored by Andrew Vella's avatar Andrew Vella
Browse files

feat(policy): remove holberton policy

parent d717a379
No related branches found
No related tags found
1 merge request!17remove holberton policy
Pipeline #725004 passed
# holberton-triage-policy.yml contains the default gitlab triage policy used for the Holberton team.
resource_rules:
issues:
rules:
# Add the `team::Holberton` label if no other `team::` scoped label is present.
- name: Add default `team::` label
conditions:
state: opened
forbidden_labels:
- team::Authentication
- team::Cloud
- team::DevOps
- team::Drupal
- team::Hamilton
- team::Holberton
- team::Identity
- team::Jackson
- team::Johnson
- team::Lovelace
ruby:
"project_path.include?('uis/devops/hr') || project_path.include?('uis/devops/finance')"
actions:
labels:
- team::Holberton
# Add default `priority::2 Medium` label if no other `priority::` scoped label is present.
- name: Add default `priority::` label
conditions:
state: opened
forbidden_labels:
- priority::0 Highest
- priority::1 High
- priority::2 Medium
- priority::3 Low
- priority::4 Lowest
ruby:
"project_path.include?('uis/devops/hr') || project_path.include?('uis/devops/finance')"
actions:
labels:
- priority::2 Medium
# Add default `issuetype::Task` label if no other `issuetype::` scoped label is present.
# All `issuetype::` scoped labels not listed in `forbidden_labels` are specifically excluded
# and default to `issuetype::Task`.
- name: Add default `issuetype::` label
conditions:
state: opened
forbidden_labels:
- issuetype::Bug
- issuetype::Incident
- issuetype::SubTask
- issuetype::Task
- issuetype::User Story
ruby:
"project_path.include?('uis/devops/hr') || project_path.include?('uis/devops/finance')"
actions:
labels:
- issuetype::Task
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