Skip to content

Add option for labeling based on PR size#632

Open
jw-maynard wants to merge 4 commits intoactions:v5.0.0-betafrom
jw-maynard:feature/size_labels_v5
Open

Add option for labeling based on PR size#632
jw-maynard wants to merge 4 commits intoactions:v5.0.0-betafrom
jw-maynard:feature/size_labels_v5

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