Configure actions/labeler@v5 to automatically label PRs based on file paths. Maps changes to: app, web, documentation, ci, tests, installer, resources, dependencies. Creates 6 new labels to complement existing issue labels for better PR organization.
63 lines
1.3 KiB
YAML
63 lines
1.3 KiB
YAML
# PR Labeler configuration
|
|
# See https://github.com/actions/labeler for details
|
|
|
|
# Core Python application (src, packaging, desktop entry)
|
|
app:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "src/**/*"
|
|
- "pyproject.toml"
|
|
- "MANIFEST.in"
|
|
- "vocalinux.desktop"
|
|
|
|
# Next.js website
|
|
web:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "web/**/*"
|
|
|
|
# Documentation (docs dir, markdown files, license)
|
|
documentation:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "docs/**/*"
|
|
- "*.md"
|
|
- "LICENSE"
|
|
|
|
# CI/CD, build tooling, scripts, linting config
|
|
ci:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- ".github/**/*"
|
|
- "Makefile"
|
|
- "scripts/**/*"
|
|
- ".flake8"
|
|
- ".pre-commit-config.yaml"
|
|
|
|
# Test suite
|
|
tests:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "tests/**/*"
|
|
|
|
# Installer / uninstaller scripts
|
|
installer:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "install.sh"
|
|
- "uninstall.sh"
|
|
|
|
# Icons, sounds, screenshots, promo assets
|
|
resources:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "resources/**/*"
|
|
|
|
# Dependency manifests
|
|
dependencies:
|
|
- changed-files:
|
|
- any-glob-to-any-file:
|
|
- "pyproject.toml"
|
|
- "web/package.json"
|
|
- "web/package-lock.json"
|