Skip to content

Commit

Permalink
Bump to sizeup-core 0.2.0
Browse files Browse the repository at this point in the history
That version drops support for the `category.threshold` configuration
option, which we've already replaced functionally in this tool. This
drops that last references to that config in docs too.
  • Loading branch information
lerebear committed Oct 10, 2023
1 parent 27a8d70 commit 1726384
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 28 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ sizeup:
color: 5d9801
- name: medium
lte: 100
threshold: true
label:
name: m
color: 7f7203
Expand Down
1 change: 0 additions & 1 deletion dist/config/default.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion dist/default.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 1 addition & 15 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@actions/core": "^1.10.1",
"@actions/github": "^5.1.1",
"@octokit/webhooks": "^12.0.3",
"sizeup-core": "^0.1.4",
"sizeup-core": "^0.2.0",
"yaml": "^2.3.2"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion src/config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ sizeup:
color: 5d9801
- name: medium
lte: 100
threshold: true
label:
name: m
description: Should be of average difficulty to review
Expand Down
4 changes: 0 additions & 4 deletions src/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@ export interface Configuration1 {
* inclusive upper bound on the score that a pull request must have to be assigned this category
*/
lte?: number
/**
* Whether or not this category marks the threshold above which we should warn about the diff being difficult to review
*/
threshold?: boolean
}[]
scoring?: {
/**
Expand Down

0 comments on commit 1726384

Please sign in to comment.