From f22e4f1cc7b60dd73cdb2e7e4a5e64d1a7fcaf7d Mon Sep 17 00:00:00 2001 From: Charalampos Fanoulis Date: Wed, 1 Jul 2020 21:32:23 +0300 Subject: [PATCH] feat: Add label syncing. (#30) * ci: Add label syncing * ci: add more label sprinkles --- .github/labels.yml | 147 ++++++++++++++++++++++++++++++++ .github/workflows/labelsync.yml | 21 +++++ .idea/discord.xml | 6 ++ 3 files changed, 174 insertions(+) create mode 100644 .github/labels.yml create mode 100644 .github/workflows/labelsync.yml create mode 100644 .idea/discord.xml diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 000000000..c79f55e28 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,147 @@ +- name: 'Namespace: Users' + description: Issues and PRs related to the V8 engine. + color: E3B724 +- name: 'Namespace: Mods' + description: Issues and PRs related to examples. + color: E3B724 +- name: 'Namespace: Modpacks' + description: Issues and PRs related to typings. + color: E3B724 +- name: 'Namespace: Documentation' + description: Issues and PRs related to documentation. + color: E3B724 +- name: 'Namespace: Project' + description: Issues and PRs related to the project in general. + color: E3B724 +- name: 'Namespace: Miscellaneous' + description: Issues and PRs that don't belong in any other namespace + color: E3B724 +- name: 'Bug Status: Unverified' + description: Issues that report unverified bugs. Pending for inspection. + color: f9d0c4 +- name: 'Bug Status: Confirmed' + description: Issues that report confirmed bugs. + color: f9d0c4 +- name: 'Bug Status: Already Fixed' + description: Issues that report already fixed bugs. + color: B3E88C +- name: 'Bug Status: Fixed' + description: Issues that report bugs and have been fixed. + color: 22DC2C +- name: 'Bug Status: Waiting for author' + description: Issues that report bugs and are pending of a response from the author. + color: 2A5E9B +- name: 'Bug Status: Cannot Reproduce' + description: Issues that report bugs that cannot be reproduced. + color: 2A5E9B +- name: 'Bug Status: Fixed in master' + description: Issues that report bugs from stable, but that are fixed in master. + color: 2A5E9B +- name: 'Meta: Feature' + description: Issues and PRs related to new features. + color: BCBCBC +- name: 'Meta: Refactor' + description: Issues and PRs related to refactors. + color: BCBCBC +- name: 'Meta: Error Handling' + description: Issues and PRs related to error handling. + color: BCBCBC +- name: 'Meta: Cleanup' + description: Issues and PRs related to code cleanup. + color: BCBCBC +- name: 'Meta: Dependencies' + description: Issues and PRs related to dependencies. + color: BCBCBC +- name: 'Meta: GitHub' + description: Issues and PRs related to GitHub. + color: 000000 +- name: 'Meta: BugFix' + description: PRs that fix bugs or issues. + color: BCBCBC +- name: 'Meta: Question' + description: Issues that do not belong to the Issue Tracker and should be asked in the official Discord Server. + color: BCBCBC +- name: 'Meta: Security' + description: Pull requests that address a security vulnerability + color: BCBCBC +- name: 'Meta: Maintenance' + description: Issues and PRs related to the maintenance of a certain piece of code. + color: BCBCBC +- name: 'Meta: Proposal' + description: Issues that request a new feature or a change in the api's interface. + color: BCBCBC +- name: 'Meta: RFC' + description: Issues that represent open Request for Comments + color: B8E112 +- name: 'Meta: Resolved RFC' + description: Issues that represent closed/resolved Request for Comments + color: B8E112 +- name: 'Meta: Performance' + description: Issues and PRs related to the performance of the api's interface. + color: BCBCBC +- name: 'Meta: Enhancement' + description: Issues and PRs related to feature enhancement. + color: BCBCBC +- name: 'Meta: Consistency' + description: Issues and PRs related to code consistency. + color: BCBCBC +- name: 'Status: WIP' + description: Issues and PRs that are still a work in progress. + color: D3ECD8 +- name: 'Status: Needs Testing' + description: PRs that need testing from the author or volunteers. + color: D3ECD8 +- name: 'Status: Stalled' + description: Issues and PRs that are being set aside for now for rethinking + color: D3ECD8 +- name: 'Status: Ready To Merge' + description: PRs that are ready to merge. + color: 22DC2C +- name: 'Status: Review Ready' + description: PRs that are ready for author review. + color: 20DA2A +- name: 'Status: Needs Docs' + description: PRs that need documentation + color: D3ECD8 +- name: 'Status: Help Wanted' + description: Issues that need assistance from volunteers or PRs that need help to proceed. + color: D3ECD8 +- name: 'Status: Invalid' + description: Issues that will not be fixed or PRs that will not merge, e.g. due to backwards compatibility. + color: 9C0404 +- name: 'Status: Duplicate' + description: Issues/PRs that are duplicated. + color: 9C0404 +- name: 'Status: Denied' + description: Issues or PRs that have been denied by the team. + color: 9C0404 +- name: 'Status: Changes Requested' + description: PRs that have requested changes. + color: 9C0404 +- name: 'Status: Blocked' + description: PRs that are blocked by other issues/PRs. + color: D3ECD8 +- name: 'SEM: Patch' + description: PRs that contain bugfixes and should be released in the next patch version. + color: B1BE1E +- name: 'SEM: N/A' + description: PRs that only contain documentation changes and do not change the api's interface. + color: B1BE1E +- name: 'SEM: Major' + description: PRs that contain breaking changes and should be released in the next major version. + color: B1BE1E +- name: 'SEM: Minor' + description: PRs that contain new features and should be released in the next minor version. + color: B1BE1E +- name: 'Priority: Low' + description: Issues that must be fixed or PRs that must be finished and merged with low priority. + color: 22DC2C +- name: 'Priority: Medium' + description: Issues that must be fixed or PRs that must be finished and merged with medium priority. + color: F5F519 +- name: 'Priority: High' + description: Issues that must be fixed or PRs that must be finished and merged with high priority. + color: F47C04 +- name: 'Priority: Critical' + description: Issues that must be fixed or PRs that must be finished and merged with maximum priority. + color: 9C0404 diff --git a/.github/workflows/labelsync.yml b/.github/workflows/labelsync.yml new file mode 100644 index 000000000..0df86cac8 --- /dev/null +++ b/.github/workflows/labelsync.yml @@ -0,0 +1,21 @@ +name: Label Sync + +on: + issues: + label: + push: + branches: + - maser + paths: + - '.github/labels.yml' + +jobs: + labeler: + runs-on: ubuntu-latest + steps: + - name: Checkout Project + uses: actions/checkout@v2 + - name: Run Label Sync + uses: crazy-max/ghaction-github-labeler@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.idea/discord.xml b/.idea/discord.xml new file mode 100644 index 000000000..cd711a0ea --- /dev/null +++ b/.idea/discord.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file