Skip to content

๐Ÿ“ Action: PR Size Labeler

Automatically classify Pull Request scope to optimize Code Review allocation and identify bloated monolithic changes.


[!IMPORTANT] The PR Size Labeler dynamically evaluates the total delta of a Pull Request and applies a standardized size label (S, M, L, XL). The engine is self-healing, automatically removing outdated labels if a PR size shrinks.

๐Ÿš€ Key Impact

  • ๐Ÿ“ Automated Sizing: Provides instant visibility into the "cost" of a PR.
  • ๐Ÿšฅ Review Optimization: Helps teams prioritize smaller, safer changes in the queue.
  • ๐Ÿ”„ State Consistency: Automatically adjusts labels as new commits are pushed to the PR.

โš™๏ธ Configuration

Input Required Default Description
github-token Yes - Token for adding/removing labels.

โšก Quick Start

- name: ๐Ÿ“ Label PR by Size
  uses: carlos-camara/qa-hub-actions/pr-size-labeler@main
  with:
    github-token: ${{ secrets.GITHUB_TOKEN }}

[View Full Wiki](https://carlos-camara.github.io/qa-hub-actions/actions/pr-size-labeler/)