Description
PR Size Labeler is a GitHub Action that labels pull requests by how much they change. It counts every added, deleted or modified line as a change, and adds a size label such as size/xs, size/s, size/m, size/l or size/xl. You set the maximum number of changes for each size, so you can choose the thresholds that suit your team. You can also make it ignore some files, file deletions or line deletions, using optional arguments such as files_to_ignore, ignore_file_deletions and ignore_line_deletions. The action can also post a comment on pull requests that are extra large, and the README says the job needs pull-requests write permission to update labels or post that comment. The README recommends pull_request_target when you accept pull requests from forks and do not want those pull requests to run code. Setup is a single workflow file in the .github/workflows directory. The source code is public on GitHub and the repository includes a license section and contributing guidelines.…
Highlights
- Labels pull requests by size
- Configurable limits for each size
- Ignore files, file deletions or line deletions
- Optional comment on extra-large pull requests
- Set up with one workflow file
Ratings & Reviews
No ratings yet
Be the first to rate PR Size Labeler.
People also visit

fusion-github-review-resolution
Resolves unresolved GitHub PR review threads end-to-end: evaluates whether each
PR Size Labeler FAQ
What does PR Size Labeler do?
It adds a size label to each pull request based on how many lines it changes, so reviewers can see how large a change is.
How do I set it up?
Create a file named labeler.yml inside the .github/workflows directory and paste in the configuration from the README.
Can I change the size limits?
Yes. Each size has a label and a maximum number of changes that you can set, such as 10 for XS and 100 for S by default.
Can I ignore some files?
Yes. Optional arguments let you ignore files, file deletions or line deletions, with files_to_ignore as the example in the README.
Is it free?
Yes. The source code is public on GitHub and the project is open source.
What are the best PR Size Labeler alternatives?
Popular alternatives to PR Size Labeler include Gitstream, GitDailies and Maintainer. See all PR Size Labeler alternatives














