Add pull request labeler automation #148
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR implements automated pull request labeling to help organize and categorize contributions to the repository. The labeler automatically applies relevant labels based on the files changed in each pull request.
What's Added
GitHub Actions Workflow
.github/workflows/labeler.yml- Automated workflow that triggers on pull request events (opened, synchronize, reopened) and applies labels based on the configuration filepull_request_targettrigger and appropriate permissionsLabeling Configuration
.github/labeler.yml- Comprehensive configuration defining labeling rules for different types of changes:documentation- README, docs, and markdown filescode- Source code files insrc/tests- Test files and test directoriesconfig- Configuration files (JSON, YAML, etc.)dependencies- Package.json and lock filestypescript- TypeScript filesdatabase- Database-related files and modelsapi- API routes, controllers, and middlewarebuild- Build tools and linting configurationsDocumentation
Benefits
The implementation follows security best practices and doesn't interfere with existing workflows or testing infrastructure.
Fixes #32.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.