From a8d0d1a8712f0aa84be4f1a651e233b4090fabe8 Mon Sep 17 00:00:00 2001 From: Ludy Date: Sun, 3 Nov 2024 08:21:56 +0100 Subject: [PATCH] re-config labeler & add new labels (#2153) Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com> --- .github/labeler-config.yml | 17 +++++++++++++---- .github/labels.yml | 21 +++++++++++++++++++-- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/.github/labeler-config.yml b/.github/labeler-config.yml index f777e3ea..d91bca36 100644 --- a/.github/labeler-config.yml +++ b/.github/labeler-config.yml @@ -16,21 +16,27 @@ Java: Back End: - changed-files: - - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/security/**/*' - - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/provider/**/*' + - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/**/*' + - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/**/*' - any-glob-to-any-file: 'src/main/resources/settings.yml.template' + - any-glob-to-any-file: 'src/main/resources/application.properties' - any-glob-to-any-file: 'src/main/resources/banner.txt' + - any-glob-to-any-file: 'scripts/png_to_webp.py' + - any-glob-to-any-file: 'split_photos.py' Security: - changed-files: - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/security/**/*' - - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/provider/**/*' - - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/config/model/AuthenticationType.java' + - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/provider/**/*' + - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/model/AuthenticationType.java' + - any-glob-to-any-file: 'scripts/download-security-jar.sh' API: - changed-files: - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/web/MetricsController.java' - any-glob-to-any-file: 'src/main/java/stirling/software/SPDF/controller/api/**/*' + - any-glob-to-any-file: 'scripts/png_to_webp.py' + - any-glob-to-any-file: 'split_photos.py' Documentation: - changed-files: @@ -43,6 +49,9 @@ Docker: - any-glob-to-any-file: 'Dockerfile' - any-glob-to-any-file: 'Dockerfile-*' - any-glob-to-any-file: 'exampleYmlFiles/*.yml' + - any-glob-to-any-file: 'scripts/init.sh' + - any-glob-to-any-file: 'scripts/init-without-ocr.sh' + - any-glob-to-any-file: 'scripts/installFonts.sh' Test: - changed-files: diff --git a/.github/labels.yml b/.github/labels.yml index 1d717e6f..47f4be7f 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -3,9 +3,12 @@ # # The repository labels will be automatically configured using this file and # the GitHub Action https://github.com/marketplace/actions/github-labeler. +- name: "Licenses" + color: "EDEDED" + from_name: "licenses" - name: "Back End" color: "20CE6C" - description: "Issues related to back-end development" + description: "Issues or pull requests related to back-end development" from_name: "Back end" - name: "Bug" description: "Something isn't working" @@ -24,6 +27,7 @@ from_name: "documentation" - name: "Done for next release" color: "0CDBD1" + description: "Items that are completed and will be included in the next release" - name: "Done" color: "60F13B" - name: "duplicate" @@ -37,7 +41,7 @@ description: "Fix needs to be confirmed" - name: "Front End" color: "BBD2F1" - description: "Issues related to front-end development" + description: "Issues or pull requests related to front-end development" - name: "github-actions" description: "Pull requests that update GitHub Actions code" color: "999999" @@ -91,3 +95,16 @@ description: "Testing-related issues or pull requests" - name: "Stale" color: "000000" + description: "Issues or pull requests that have become inactive" +- name: "Priority: Critical" + color: "000000" + description: "Issues or pull requests with the highest priority" +- name: "Priority: High" + color: "FF0000" + description: "Issues or pull requests with high priority" +- name: "Priority: Medium" + color: "FFFF00" + description: "Issues or pull requests with medium priority" +- name: "Priority: Low" + color: "00FF00" + description: "Issues or pull requests with low priority"