-
Notifications
You must be signed in to change notification settings - Fork 149
Description
For the easyconfigs repo there already is a bot automatically tagging PRs by type.
I propose adding a bot to all repos that adds size tags.
I've seen those in other repos which results in tags like size: s, size: xl etc. based on number of files changed and number of changes.
This allows to easily filter PRs such that e.g. easy updates (small PRs) can be addressed quickly when maintainers don't have much time
There are github apps and actions (and this)
Example sizes from one config (min. number of changes for each size):
"0": "XS",
"10": "S",
"30": "M",
"100": "L",
"500": "XL",
"1000": "XXL"
For security it can be trivially implemented and/or integrated into the existing bot. git diff --shortstat outputs something like:
20 files changed, 92 insertions(+), 105 deletions(-)
That is easy enough to parse, even in pure bash