From f97e99d82b5ef6197782d91bd14795fc271fb060 Mon Sep 17 00:00:00 2001 From: Octol1ttle Date: Thu, 20 Jul 2023 02:00:11 +0500 Subject: [PATCH] Increase thresholds for size labels (#52) This PR adds a `labels.yml` file to configure the `pull-request-size` bot. The new thresholds are: - 0-9 lines for XS - 10-49 lines for S - 50-99 lines for M - 100-499 lines for L - 500-999 lines for XL - \>1000 for XXL In the file, these thresholds are doubled to accomodate for the fact that both additions and deletions are counted (e.g. editing 10 lines will result in 10 additions and 10 deletions, 20 in total) Signed-off-by: Octol1ttle --- .github/labels.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/labels.yml diff --git a/.github/labels.yml b/.github/labels.yml new file mode 100644 index 0000000..8187db4 --- /dev/null +++ b/.github/labels.yml @@ -0,0 +1,24 @@ +XS: + name: size/XS + lines: 0 + color: 3CBF00 +S: + name: size/S + lines: 20 + color: 5D9801 +M: + name: size/M + lines: 100 + color: 7F7203 +L: + name: size/L + lines: 200 + color: A14C05 +XL: + name: size/XL + lines: 1000 + color: C32607 +XXL: + name: size/XXL + lines: 2000 + color: E50009