From d439bb1dec4d4bde504478cff1d134d3ecea44d2 Mon Sep 17 00:00:00 2001 From: Sergey Shorokhov Date: Sun, 3 Nov 2024 17:46:55 +0300 Subject: [PATCH] Add labels template with sync workflow (#18) * Add workflow `Sync labels` Co-authored-by: STAM --- .github/labels.yml | 88 +++++++++++++++++++++++++++++++ .github/workflows/sync_labels.yml | 18 +++++++ 2 files changed, 106 insertions(+) create mode 100644 .github/labels.yml create mode 100644 .github/workflows/sync_labels.yml diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..2124b28 --- /dev/null +++ b/.github/labels.yml @@ -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" diff --git a/.github/workflows/sync_labels.yml b/.github/workflows/sync_labels.yml new file mode 100644 index 0000000..b3be1ba --- /dev/null +++ b/.github/workflows/sync_labels.yml @@ -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 }}