Add labels template with sync workflow (#18)

* Add workflow `Sync labels`

Co-authored-by: STAM <stamepicmorg@users.noreply.github.com>
This commit is contained in:
Sergey Shorokhov 2024-11-03 17:46:55 +03:00 committed by GitHub
parent 9dd2486deb
commit d439bb1dec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 106 additions and 0 deletions

88
.github/labels.yml vendored Normal file
View File

@ -0,0 +1,88 @@
# Priority
- name: "Priority: 🔥 high"
description: "Tasks with high priority that require immediate attention."
color: "FF5733"
- name: "Priority: ⚠️ medium"
description: "Medium priority tasks that should be addressed soon."
color: "FFC300"
- name: "Priority: 🕒 low"
description: "Low priority tasks that can be postponed for the future."
color: "C4C4C4"
# Resolution
- name: "Resolution: ✂️ duplicate"
description: "Duplicate of an existing task or issue."
- name: "Resolution: ❇️ Resolved"
description: "The issue resolved, but not fully closed."
- name: "Resolution: 🚫 wontfix"
description: "The issue will not be fixed; the task is closed."
color: "DC3545"
- name: "Resolution: ❓ invalid"
description: "Invalid task, lacking sufficient information or incorrect format."
color: "C4C4C4"
# Type
- name: "Type: 🐞 bug"
description: "An error that needs fixing."
color: "FF5733"
- name: "Type: ⚡ performance"
description: "Optimization of system or code performance."
color: "FFC107"
- name: "Type: 🔒 security"
description: "Vulnerabilities or issues related to security."
color: "DC3545"
- name: "Type: 🛠️ maintenance"
description: "Tasks related to technical debt, infrastructure upkeep."
color: "FFD700"
- name: "Type: ⚙️ infrastructure"
description: "Tasks for maintaining or improving system infrastructure."
color: "B0C4DE"
- name: "Type: 🚀 enhancement"
description: "Improvement or addition of a new feature."
color: "28A745"
- name: "Type: 💡 feature request"
description: "Request for a new feature or enhancement."
color: "FF851B"
- name: "Type: 📚 documentation"
description: "Tasks related to updating or improving documentation."
color: "007BFF"
- name: "Type: 🛠️ refactor"
description: "Refactoring code without adding new functionality."
color: "6F42C1"
- name: "Type: ✅ test"
description: "Related to testing and verification of code."
color: "20C997"
- name: "Type: 🧹 chore"
description: "Routine tasks, maintenance, or non-user-facing changes."
color: "FAD8C7"
# Status
- name: "Status: 🚧 in progress"
description: "Task currently being worked on."
color: "FFC300"
- name: "Status: 👀 needs review"
description: "Requires code or changes review."
color: "17A2B8"
- name: "Status: 🗣️ needs feedback"
description: "Comments or feedback needed from the community or team."
color: "6C757D"
- name: "Status: ✅ Done"
description: "The issue done and closed."
color: "FF5733"
- name: "Status: 🕹️ on hold"
description: "Task temporarily on hold."
color: "C4C4C4"
- name: "Status: ⚠️ triage"
description: "A label used to categorize issues for prioritization and organization."
color: "6C757D"
# Difficulty
- name: "Difficulty: 🟢 easy"
description: "Easy task that can be completed quickly."
color: "28A745"
- name: "Difficulty: 🟡 medium"
description: "Task of medium difficulty requiring moderate effort."
color: "FFC300"
- name: "Difficulty: 🔴 hard"
description: "Difficult task requiring significant resources and time."
color: "DC3545"

18
.github/workflows/sync_labels.yml vendored Normal file
View File

@ -0,0 +1,18 @@
name: Sync labels
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: micnncim/action-label-syncer@v1
with:
manifest: .github/labels.yml
repository: |
rehlds/.github
rehlds/relocalizebugfix
rehlds/resemiclip
token: ${{ secrets.REHLDS_LABELS_PAT }}