Label workflow

This commit is contained in:
Janne Valkealahti
2022-06-01 08:41:35 +01:00
parent 7201a25567
commit c2774b9d8f
2 changed files with 136 additions and 0 deletions

113
.github/labels-manage.yml vendored Normal file
View File

@@ -0,0 +1,113 @@
- name: area/dependencies
color: F9D0C4
description: Belongs project dependencies
- name: area/documentation
color: F9D0C4
description: Belongs to documentation
- name: area/security
color: F9D0C4
description: Belongs to security
- name: area/tests
color: F9D0C4
description: Belongs to tests
- name: automation/rlnotes-header
color: EDEDED
description: Belongs to release notes automation
- name: automation/rlnotes-footer
color: EDEDED
description: Belongs to release notes automation
- name: for/backport
color: E99695
description: For backporting
- name: for/blocker
color: E99695
description: For blocking
- name: for/marketing
color: E99695
description: For marketing
- name: for/spike
color: E99695
description: For spike
- name: for/team-attention
color: E99695
description: For team attention
- name: status/complete
color: FEF2C0
description: Issue is now complete
- name: status/declined
color: FEF2C0
description: Issue has been declined
- name: status/duplicate
color: FEF2C0
description: There were an existing issue
- name: status/in-progress
color: FEF2C0
description: Something is happening
- name: status/invalid
color: FEF2C0
description: Mistake, bogus, old, bye bye
- name: status/need-design
color: FEF2C0
description: Vague so need some proper design
- name: status/need-feedback
color: FEF2C0
description: Calling participant to provide feedback
- name: status/need-investigation
color: FEF2C0
description: Oh need to look under a hood
- name: status/need-triage
color: FEF2C0
description: Team needs to triage and take a first look
- name: status/on-hold
color: FEF2C0
description: For various reasons is on hold
- name: status/stale
color: FEF2C0
description: Marked as stale
- name: status/closed-as-stale
color: FEF2C0
description: Closed as has been stale
- name: type/automated-pr
color: D4C5F9
description: Is an automated pr
- name: type/backport
color: D4C5F9
description: Is a issue to track backport, use with branch/xxx
- name: type/bug
color: D4C5F9
description: Is a bug report
- name: type/enhancement
color: D4C5F9
description: Is an enhancement request
- name: type/epic
color: D4C5F9
description: Collection of issues
- name: type/feature
color: D4C5F9
description: Is a feature request
- name: type/help-needed
color: D4C5F9
description: Calling help
- name: type/idea
color: D4C5F9
description: Is just an idea
- name: type/task
color: D4C5F9
description: Something needs to get done
- name: type/technical-debt
color: D4C5F9
description: Techical Dept
- name: type/question
color: D4C5F9
description: Is a question
- name: branch/2.1.x
color: BFDADC
description: Issue for a branch
- name: branch/3.0.x
color: BFDADC
description: Issue for a branch

23
.github/workflows/label-manage.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Labels Manage
on:
push:
branches:
- 'main'
paths:
- '.github/labels-manage.yml'
- '.github/workflows/label-manage.yml'
workflow_dispatch:
jobs:
labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Mangle Labels
uses: crazy-max/ghaction-github-labeler@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels-manage.yml
dry-run: false
skip-delete: true