Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option for labeling based on PR size #632

Open
wants to merge 4 commits into
base: v5.0.0-beta
Choose a base branch
from

Conversation

jw-maynard
Copy link

@jw-maynard jw-maynard commented Jul 29, 2023

Description:
Adds a new action input that will enable labeling the PR based on the size. The size thresholds have default but are also configurable.

BREAKING CHANGE:
The configuration format has been changed.

  • Glob matching labels are now stored under the top level key label-config and remain otherwise unchanged.
  • A new optional top level key named size-config has been added to hold a JSON object containing custom size labels.

Related issue:
#486

Check list:

  • Mark if documentation changes are required.
  • Mark if tests were added or updated to cover the changes.

@jw-maynard jw-maynard requested a review from a team as a code owner July 29, 2023 00:23
@jw-maynard
Copy link
Author

I haven't added Doc updates yet, but if the code changes are acceptable LMK and I'll update the Docs and add it to this PR. Thanks!

@MaksimZhukov MaksimZhukov changed the base branch from v5.0.0-beta.1 to v5.0.0-beta September 20, 2023 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant