diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 00000000..c7f23973 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,91 @@ +# Labels names are important as they are used by Release Drafter to decide +# regarding where to record them in changelog or if to skip them. +# +# The repository labels will be automatically configured using this file and +# the GitHub Action https://github.com/marketplace/actions/github-labeler. +- name: "Back End" + color: "20CE6C" + description: "Issues related to back-end development" + from_name: "Back end" +- name: "Bug" + description: "Something isn't working" + color: "EB9CA6" + from_name: "bug" +- name: "dependencies" + description: "Pull requests that update a dependency file" + color: "5AA8FC" +- name: "Docker" + description: "Pull requests that update Docker code" + color: "1FCEFF" + from_name: "docker" +- name: "Documentation" + description: "Improvements or additions to documentation" + color: "35ABFF" + from_name: "documentation" +- name: "Done for next release" + color: "0CDBD1" +- name: "Done" + color: "60F13B" +- name: "duplicate" + description: "This issue or pull request already exists" + color: "CDD1D5" +- name: "enhancement" + description: "New feature or request" + color: "A0EEEE" +- name: "fix needs confirmation" + color: "60A1E7" + description: "Fix needs to be confirmed" +- name: "Front End" + color: "BBD2F1" + description: "Issues related to front-end development" +- name: "github-actions" + description: "Pull requests that update GitHub Actions code" + color: "999999" + from_name: "github_actions" +- name: "good first issue" + description: "Good for newcomers" + color: "C1B8FF" +- name: "help wanted" + description: "Extra attention is needed" + color: "00E6C4" +- name: "invalid" + description: "This doesn't seem right" + color: "E5E566" +- name: "Java" + description: "Pull requests that update Java code" + color: "FF9E1F" + from_name: "java" +- name: "Long-term Enhancement" + color: "BFDEC3" + description: "Enhancements planned for the long term" +- name: "more-info-needed" + color: "00E4F8" + description: "More information is needed" +- name: "needs investigation" + color: "B8C3A7" + description: "Issues that require further investigation" +- name: "Prioritised enhancement" + color: "4BA2EE" + description: "High-priority enhancements" +- name: "question" + description: "Further information is requested" + color: "D97EE5" +- name: "Translation" + color: "9FABF9" + from_name: "translation" +- name: "upstream" + color: "DEDEDE" +- name: "v2" + color: "FFFF00" +- name: "wontfix" + description: "This will not be worked on" + color: "FFFFFF" +- name: "Security" + color: "000000" + description: "Security-related issues or pull requests" +- name: "API" + color: "FFFF00" + description: "API-related issues or pull requests" +- name: "Test" + color: "FF9E1F" + description: "Testing-related issues or pull requests" \ No newline at end of file diff --git a/.github/workflows/manage-label.yml b/.github/workflows/manage-label.yml new file mode 100644 index 00000000..b1a239cf --- /dev/null +++ b/.github/workflows/manage-label.yml @@ -0,0 +1,24 @@ +name: Manage labels + +on: + schedule: + - cron: "30 20 * * *" + +permissions: + contents: read + issues: write + +jobs: + labeler: + name: Labeler + runs-on: ubuntu-latest + steps: + - name: Check out the repository + uses: actions/checkout@v4 + + - name: Run Labeler + uses: crazy-max/ghaction-github-labeler@v5 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + yaml-file: .github/labels.yml + skip-delete: true \ No newline at end of file