π·οΈ PR Labeler Action v1.0.0
Automatically labels PRs based on changed file paths.
Features
- π Glob pattern matching β Use
**,*, and?patterns - ποΈ YAML/JSON config β Simple path-to-label mapping format
- π§ Smart dedup β Won't add labels that already exist
- π Pure Python β Lightweight composite action, no Docker
- π Works with forks β Supports
pull_request_target
Quick Start
Create .github/pr-labeler.yml:
frontend:
- 'src/components/**'
- 'src/styles/**'
backend:
- 'src/api/**'Then add the action to your workflow:
- uses: SCL339/pr-labeler-action@v1.0.0See the README for full documentation.