| file_size_limit | Maximum file size (e.g., 100KB, 1.5MB, 500000) | no | 100KB |
| file_size_limit_enabled | Enable per-file size checks (set to false to skip size limit violations) | no | true |
| file_lines_limit | Maximum lines per file (current file total lines, not diff additions) | no | 500 |
| file_lines_limit_enabled | Enable per-file line count checks (set to false to skip line limit violations) | no | true |
| pr_additions_limit | Maximum added lines for entire PR (diff-based) | no | 5000 |
| pr_additions_limit_enabled | Enable PR additions checks (set to false to skip total-additions violations) | no | true |
| pr_files_limit | Maximum number of files in PR (excluding removed files) | no | 50 |
| pr_files_limit_enabled | Enable per-PR file count checks (set to false to skip file-count violations) | no | true |
| size_enabled | Enable size labels (size/small, size/medium, size/large, size/xlarge, size/xxlarge) | no | true |
| size_thresholds | JSON string for size label thresholds (additions-based) | no | {"small": 200, "medium": 500, "large": 1000, "xlarge": 3000} |
| complexity_enabled | Enable complexity labels (complexity/medium, complexity/high) | no | false |
| complexity_thresholds | JSON string for complexity label thresholds | no | {"medium": 15, "high": 30} |
| category_enabled | Enable category labels (category/tests, category/docs, etc.) | no | true |
| risk_enabled | Enable risk labels (risk/high, risk/medium) | no | true |
| large_files_label | Label for files exceeding size or line limits | no | auto/large-files |
| too_many_files_label | Label for PRs with too many files | no | auto/too-many-files |
| too_many_lines_label | Label for files exceeding line count limits | no | auto/too-many-lines |
| excessive_changes_label | Label for PRs with excessive changes (total additions) | no | auto/excessive-changes |
| skip_draft_pr | Skip check for draft PRs | no | true |
| comment_on_pr | Comment on PR (auto/always/never) | no | auto |
| fail_on_large_files | Fail workflow if large files are detected (labeled with large_files_label or too_many_lines_label) | no | "" |
| fail_on_too_many_files | Fail workflow if too many files are detected (labeled with too_many_files_label) | no | "" |
| fail_on_pr_size | Fail workflow if PR size exceeds threshold (values: '', 'small', 'medium', 'large', 'xlarge', 'xxlarge'). Empty string to disable. | no | "" |
| enable_summary | Write PR metrics to GitHub Actions Summary | no | true |
| additional_exclude_patterns | Additional file patterns to exclude (comma or newline separated) | no | "" |
| enable_directory_labeling | Enable Directory-Based Labeling feature | no | true |
| directory_labeler_config_path | Path to directory labeler configuration file | no | .github/directory-labeler.yml |
| max_labels | Maximum number of labels to apply (0 for unlimited) | no | 10 |
| use_default_excludes | Use default exclude patterns (node_modules, dist, etc.) | no | true |
| language | Language for output messages (en, ja, en-US, ja-JP). Fallback order: action input → pr-labeler.yml → LANGUAGE/LANG env → default 'en' | no | — |
| github_token | GitHub token for API access (required). Provide explicitly or ensure GITHUB_TOKEN/GH_TOKEN environment variable is set | yes | — |