actions-marketplace-validations/Pull Request size labeler

Label a PR based on the amount of changes

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
GITHUB_TOKENGitHub token needed to interact with the repositoryno${{ github.token }}
xs_labelLabel for xs PRnosize/xs
xs_max_sizeMax size for a PR to be considered xsno10
s_labelLabel for s PRnosize/s
s_max_sizeMax size for a PR to be considered sno100
m_labelLabel for m PRnosize/m
m_max_sizeMax size for a PR to be considered mno500
l_labelLabel for l PRnosize/l
l_max_sizeMax size for a PR to be considered lno1000
xl_labelLabel for xl PRnosize/xl
fail_if_xlReport GitHub Workflow failure if the PR size is xl allowing to forbid PR mergenofalse
message_if_xlMessage to show if the PR size is xlnoThis PR exceeds the recommended size of 1000 lines. Please make sure you are NOT addressing multiple issues with one PR. Note this PR might be rejected due to its size.
github_api_urlURL to the API of your Github Server, only necessary for Github Enterprise customersno${{ github.api_url }}
files_to_ignoreWhitespace separated list of files to ignore when calculating the PR size (sum of changes)no""
ignore_line_deletionsWhether to ignore lines which are deleted when calculating the PR size. If set to "true", deleted lines will be ignored.nofalse
ignore_file_deletionsWhether to ignore files which are deleted when calculating the PR size. If set to "true", deleted files will be ignored.nofalse

no outputs