From 576a59243140933309ff0be93dcae3096c53aa59 Mon Sep 17 00:00:00 2001 From: Ramiz Polic <32913827+ramizpolic@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:47:25 +0100 Subject: [PATCH] feat: update label sync (#14) Signed-off-by: Ramiz Polic --- .github/labels.yml | 90 ++++++++++++++++++++++----- .github/workflows/_project-common.yml | 2 +- 2 files changed, 77 insertions(+), 15 deletions(-) diff --git a/.github/labels.yml b/.github/labels.yml index 88a1089..819afc8 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -1,8 +1,4 @@ # Lifecycle -- name: 'approved' - color: '13fa16' - description: 'Indicates the PR has been approved by an approver from all required OWNERS files.' - - name: 'lifecycle/active' color: '8fc951' description: 'Indicates that an issue or PR is actively being worked on by a contributor.' @@ -15,14 +11,6 @@ color: 'd3e1f1' description: 'Denotes an issue or PR that should be preserved from going stale.' -- name: 'duplicate' - color: cfd3d7 - description: 'This issue or pull request already exists' - -- name: 'good first issue' - color: 7057ff - description: 'Good for newcomers' - # Size labels - name: 'size/XS' color: '009900' @@ -59,16 +47,32 @@ - name: 'kind/enhancement' color: 'c7def7' - description: 'Categorizes issue or PR as related to a new feature.' + description: 'Categorizes issue or PR as related to an improvement.' - name: 'kind/cleanup' color: 'c7def7' description: 'Categorizes issue or PR as related to cleaning up code, process, or technical debt.' +- name: 'kind/support' + color: 'c7def7' + description: 'Categorizes issue or PR as support questions.' + +- name: 'kind/test' + color: 'c7def7' + description: 'Categorizes issue or PR as related to testing.' + +- name: 'kind/work-in-progress' + color: 'c7def7' + description: 'Categorizes issue or PR as work in progress.' + - name: 'kind/bug' color: 'e11d21' description: 'Categorizes issue or PR as related to a bug.' +- name: 'kind/regression' + color: 'cc3333' + description: 'Categorizes issue or PR as related to a regression from a prior release.' + # Area - name: 'area/api' color: '0052cc' @@ -89,8 +93,9 @@ color: '0052cc' - name: 'area/artifacts' color: '0052cc' -- name: 'area/dependencies' +- name: 'area/platform' color: '0052cc' + description: 'PR or issue related to a specific platform (OS, K8s version...)' - name: 'area/provider/gcp' color: '0052cc' @@ -102,3 +107,60 @@ color: '0052cc' - name: 'area/provider/vault' color: '0052cc' + +- name: 'area/dependencies' + color: '0052cc' + +# Community +- name: 'triage/accepted' + color: '30a14e' + description: 'Indicates an issue or PR is ready to be actively worked on.' + +- name: 'triage/duplicate' + color: 'c31fb5' + description: 'This issue or PR already exists.' + +- name: 'triage/on-hold' + color: 'bfa808' + description: 'Indicates an issue or PR is on hold for some reason.' + +- name: 'triage/needs-information' + color: 'bfa808' + description: 'Indicates an issue or PR needs more information in order to work on it.' + +- name: 'triage/not-reproducible' + color: 'bfa808' + description: 'Indicates an issue or PR can not be reproduced as described.' + +- name: 'triage/rejected' + color: 'bfa808' + description: 'Indicates an issue or PR that can not or will not be resolved.' + +- name: 'good first issue' + color: '7057ff' + description: 'Good for newcomers' + +# Priority +- name: 'priority/waiting' + color: 'd4e6fd' + description: 'Lowest priority. Possibly useful, but not yet enough support to actually get it done.' + +- name: 'priority/low' + color: 'ffdd9f' + description: 'Issue that might be added to backlog or be rejected.' + +- name: 'priority/backlog' + color: 'ffdd9f' + description: 'Issue that needs to be added and addressed in the backlog.' + +- name: 'priority/critical' + color: 'ff2626' + description: 'Very critical issue that needs to be worked asap.' + +- name: 'priority/longterm' + color: 'ffa500' + description: 'Important over the long term, but may not be worked in multiple releases' + +- name: 'priority/soon' + color: 'ffa500' + description: 'Must be worked on either currently, or very soon, ideally for the next release' diff --git a/.github/workflows/_project-common.yml b/.github/workflows/_project-common.yml index efb3f77..ed1c920 100644 --- a/.github/workflows/_project-common.yml +++ b/.github/workflows/_project-common.yml @@ -72,7 +72,7 @@ jobs: https://raw.githubusercontent.com/bank-vaults/.github/main/.github/labels.yml # If you want to delete any additional label, set this to true - delete-other-labels: false + delete-other-labels: true # If you want the action just to show you the preview of the changes, without actually editing the labels, set this to true dry-run: false