chore: improve label matching rules in labeler config

This commit is contained in:
Ludy87 2025-06-19 18:45:37 +02:00
parent 9923411ade
commit 17902380d5
No known key found for this signature in database
GPG Key ID: 92696155E0220F94
2 changed files with 28 additions and 25 deletions

View File

@ -28,6 +28,9 @@ labels:
- label: "style"
title: '^style:.*'
- label: "Documentation"
title: '^docs:.*'
- label: 'API'
title: '.*openapi.*'
@ -40,32 +43,33 @@ labels:
- label: 'Front End'
files:
- 'stirling-pdf/src/main/resources/templates/**/*'
- 'proprietary/src/main/resources/templates/**/*'
- 'stirling-pdf/src/main/resources/static/**/*'
- 'proprietary/src/main/resources/static/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/UI/**/*'
- 'stirling-pdf/src/main/resources/templates/.*'
- 'proprietary/src/main/resources/templates/.*'
- 'stirling-pdf/src/main/resources/static/.*'
- 'proprietary/src/main/resources/static/.*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/.*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/UI/.*'
- label: 'Java'
files:
- 'common/src/main/java/**/*.java'
- 'proprietary/src/main/java/**/*.java'
- 'stirling-pdf/src/main/java/**/*.java'
- 'common/src/main/java/.*.java'
- 'proprietary/src/main/java/.*.java'
- 'stirling-pdf/src/main/java/.*.java'
- label: 'Back End'
files:
- 'stirling-pdf/src/main/java/stirling/software/SPDF/config/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/config/.*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/.*'
- 'stirling-pdf/src/main/resources/settings.yml.template'
- 'stirling-pdf/src/main/resources/application.properties'
- 'stirling-pdf/src/main/resources/banner.txt'
- 'scripts/png_to_webp.py'
- 'split_photos.py'
- 'application.properties'
- label: 'Security'
files:
- 'proprietary/src/main/java/stirling/software/proprietary/security/**/*'
- 'proprietary/src/main/java/stirling/software/proprietary/security/.*'
- 'scripts/download-security-jar.sh'
- '.github/workflows/dependency-review.yml'
- '.github/workflows/scorecards.yml'
@ -74,18 +78,17 @@ labels:
files:
- 'stirling-pdf/src/main/java/stirling/software/SPDF/config/OpenApiConfig.java'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/web/MetricsController.java'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/model/api/**/*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/controller/api/.*'
- 'stirling-pdf/src/main/java/stirling/software/SPDF/model/api/.*'
- 'scripts/png_to_webp.py'
- 'split_photos.py'
- '.github/workflows/swagger.yml'
- label: 'Documentation'
files:
- '**/*.md'
- '.*.md'
- 'scripts/counter_translation.py'
- 'scripts/ignore_translation.toml'
title: '^docs:.*'
- label: 'Docker'
files:
@ -104,9 +107,9 @@ labels:
- label: 'Devtools'
files:
- '.devcontainer/**/*'
- '.devcontainer/.*'
- 'Dockerfile.dev'
- '.vscode/**/*'
- '.vscode/.*'
- '.editorconfig'
- '.pre-commit-config'
- '.github/workflows/pre_commit.yml'
@ -114,19 +117,19 @@ labels:
- label: 'Test'
files:
- 'common/src/test/**/*'
- 'proprietary/src/test/**/*'
- 'stirling-pdf/src/test/**/*'
- 'testing/**/*'
- 'common/src/test/.*'
- 'proprietary/src/test/.*'
- 'stirling-pdf/src/test/.*'
- 'testing/.*'
- '.github/workflows/scorecards.yml'
- label: 'Github'
files:
- '.github/**/*'
- '.github/.*'
- label: 'Gradle'
files:
- 'gradle/**/*'
- 'gradle/.*'
- 'gradlew'
- 'gradlew.bat'
- 'settings.gradle'

View File

@ -78,7 +78,7 @@ jobs:
title: "Update 3rd Party Licenses"
body: |
Auto-generated by ${{ steps.setup-bot.outputs.app-slug }}[bot]
labels: licenses,github-actions
labels: Licenses,github-actions
draft: false
delete-branch: true
sign-commits: true