Commit graph

48 commits

Author SHA1 Message Date
오지환 (Cooper)
1c3422395d
make github_token to optional (#87)
Co-authored-by: John Kuhn <john@useintegral.com>
2024-10-14 06:51:03 -07:00
Leonardo Cencetti
2f1c419d06
fix: Comment on PR only if the XL label is new (#83)
Signed-off-by: Leonardo Cencetti <cencetti.leonardo@gmail.com>
2024-10-14 06:41:17 -07:00
Keunhyung Chung
c7a55a0227
fix: add Escaped Double Quotes to comment (#82)
Add double quotes to `comment`
2024-09-02 12:33:49 +02:00
Germán Figna
401948ce79
docs: fix yml indentation on README.md (#81) 2024-07-27 13:35:48 +02:00
Achille Verheye
f8701c087d
docs: add needed permissions in the readme example and how to use with forks (#80)
* Add required permissions for the workflow to run

* Set version to 1.10.0

* md formatting

* Improve wording

* Add note for forks, close #8

* Revert "Set version to 1.10.0"

This reverts commit 5f84f9f5cb.

* Apply suggestion to use github supported alerts
2024-07-26 08:39:28 +02:00
Jose Maria Valera Reales
e13c249aff
Use assert_equals instead of snapshots (#77)
* feat: upgrade bashunit 0.11

* simplify using assert_equals instead of snapshots
2024-06-09 10:37:02 -07:00
John Kuhn
56f6f0fc35
Fix broken logo link in readme (#75)
* Fix broken logo link in readme

* Trying this logo size instead

* accept purposed change for dynamic logo

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

* docs: fix readme indentation

---------

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>
2024-05-14 06:16:30 -07:00
John Kuhn
cc6827c0ee
Support ignoring file deletions (#76)
* Support ignoring file deletions

Tweak action.yml

* Tweak the readme description

Co-authored-by: Onkar Ruikar <87750369+OnkarRuikar@users.noreply.github.com>

* tweak removed file check to include line_deletion var

Co-authored-by: Onkar Ruikar <87750369+OnkarRuikar@users.noreply.github.com>

* docs: unify the "Basic concepts or assumptions" readme section into the most related arguments to make it easier to read

Improve the existing contribution guide (#74)

* Improve the existing contribution guide

* reorder the contribution steps to push testing up

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

* tweak contribution process opener copy

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

---------

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

Put back accidental deletion

---------

Co-authored-by: Onkar Ruikar <87750369+OnkarRuikar@users.noreply.github.com>
Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>
Co-authored-by: Rob W <rlw0788@gmail.com>
2024-05-14 06:15:36 -07:00
John Kuhn
f8dce3e941
Improve the existing contribution guide (#74)
* Improve the existing contribution guide

* reorder the contribution steps to push testing up

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

* tweak contribution process opener copy

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>

---------

Co-authored-by: Javier Ferrer González <javier.ferrer@codely.com>
2024-05-14 05:45:17 -07:00
Marco Lecheler
13d17c48b7
chore: use github.api_url as default (#62)
Co-authored-by: John Kuhn <john@useintegral.com>
2024-04-16 15:40:12 -07:00
León Isla
891ac86f32
add: -w to match the whole label (#65)
Co-authored-by: John Kuhn <john@useintegral.com>
2024-04-16 15:34:29 -07:00
John Kuhn
f2aafc4d87
Support ignore deletions with "ignore_line_deletions" param (#71)
* Support ignore deletions with "ignore_file_deletions" param

Test files_to_ignore code path

Tweak the variable type

Correct bad logic in the file ignore block

Debug

More debugging

More debugging

Fingers crossed

Another try

Last try

Lets see if this one does it

Testing again

More tests

More testing

Last test

Wait, I might be onto something

Put some changes back

Fixes

Whoops

Walk back yml test

* Rename config variable to be ignore_line_deletions

* Add and update tests

* Update action.yml to provided more consistent desc.

Co-authored-by: Javier Ferrer González <javier.mailserio@gmail.com>

* Delete redundant helper function

* Fix parse error in action.yml

---------

Co-authored-by: Javier Ferrer González <javier.mailserio@gmail.com>
2024-04-16 08:35:06 -07:00
John Kuhn
1cc5389c9b
Define a pr template to encourage thorough pr descriptions (#73)
* Define a pr template to encourage thorough pr descriptions

* Move the PR template to be under .github dir
2024-04-15 06:16:51 -07:00
John Kuhn
08227d10e5
Format arguments in README as a table (#72)
Small tweak

Remove whitespace
2024-04-15 06:10:19 -07:00
kooku
4bd28fb774
fix: update readme example (#57) 2024-04-15 09:20:40 +02:00
Emmanuel Valverde Ramos
54c3c1d940
test: add bashunit (#64)
* chore: add bashunit to the repo

* chore: created folder for test and check that bashunit works

* chore: snapshot for test_should_ignore_files_with_glob

* chore: add pipeline

* chore: snapshot update

* git ignore bashunit, rather install it as vendor

* chore: code style

* chore: fix installed bashunit version

---------

Co-authored-by: Chemaclass <chemaclass@outlook.es>
Co-authored-by: katarn <katarn@katarn.es>
2023-11-14 18:42:54 +01:00
Changliang Wu
d269449310
feat: add regex match for files to ignore (#50) 2023-01-31 15:31:23 +01:00
Rafa Gómez
54ef36785e
fix: allow multiples files to ignore (#39) 2022-04-07 21:38:33 +02:00
Rafa Gómez
88ab4d8199
refactor: use named argument for pr_number (#36) 2022-03-20 11:57:01 +01:00
Rafa Gómez
bfc42c990b
feature: Add support for ignoring files (#35)
Co-authored-by: favmd <m.dietl@frontmark.de>
2022-03-20 11:41:22 +01:00
Rafa Gómez
6601a2d04f
refactor: accept params via docpars (#34) 2022-03-20 10:53:21 +01:00
Brian Flad
2b4112ffb7
feat: support size label customization (#26)
* Support size label customization

Reference: https://github.com/CodelyTV/pr-size-labeler/issues/25

* Use curly braces with positional arguments

Prevents issues with $10 and higher.
2021-09-20 11:30:23 +02:00
Javier Ferrer
48a746c126 Document available parameters and basic concepts 2021-03-04 12:08:58 +01:00
Javier Ferrer
4b80a92212 More explicit and self-explanatory message_if_xl default parameter value
- New value based on what an AWS team suggest: https://github.com/awslabs/fhir-works-on-aws-authz-rbac/pull/24
2021-03-04 12:08:58 +01:00
Dominik Meyer
d56e9ca5fe
Add GHES support (#22)
Co-authored-by: dom <dominik.meyer01@sap.com>
Co-authored-by: Javier Ferrer <javier.mailserio@gmail.com>
2021-03-03 12:54:34 +01:00
Rafa Gómez
417e60a06b
Add support for emojis in labels (#17)
* Improve readme

* Add support for emojis in labels
2020-05-05 13:58:09 +02:00
Rafa Gómez
18be83949c [bugfix] Don't allow empty labels 2020-04-28 14:43:30 +02:00
Rafa Gómez
aa03cf715b Improve readme 2020-04-28 14:43:30 +02:00
Rafa Gómez
2a8d675d22 Allow labels with spaces 2020-04-27 22:15:56 +02:00
Rafa Gómez
0009b9907e Use self workflow 2020-04-27 22:15:56 +02:00
Rafa Gómez
f752c062e3
Remove unused workflow 2020-04-27 15:39:28 +02:00
Rafa Gómez
297d8199d5
Add message if the pr is xl (#7) 2020-04-27 15:36:43 +02:00
Rafa Gómez
8cb2932588
Comment on failing builds 2020-03-10 08:47:15 +01:00
Miguel Pérez
3ddea93bd2
Use arithmetic operators built in Bash (#6) 2020-03-08 20:41:17 +01:00
Rafa Gómez
9dd667892b
Use default values on readme 2020-03-04 14:26:11 +01:00
Rafa Gómez
0600010fbe Remove old size labels 2020-03-04 09:49:34 +01:00
Rafa Gómez
44bd7cefa2 Use idiomatic bash 2020-03-04 09:49:34 +01:00
Rafa Gómez
2f1a11e798 [labeler] More real thresholds for this project 2020-03-04 09:49:34 +01:00
Javier Ferrer
f2fed95b5c
Use MIT license
Fix https://github.com/CodelyTV/pr-size-labeler/issues/2
2020-03-03 10:00:17 +01:00
Rafa Gómez
dd4d2eb10e
🔥 Use pr size labeler in pr size labeler (#4) 2020-03-02 09:10:37 +01:00
Raúl Julián López Caña
d8852852e7
docs: add branding icon/color & version badge (#1) 2020-03-02 08:59:03 +01:00
BhEaN
10518a86c9
Fix typo (#3) 2020-03-02 08:57:38 +01:00
Rafa Gómez
f6e069c843
Improve naming 2020-02-27 18:48:35 +01:00
Rafa Gómez
3cfa647fa5
Improve readme 2020-02-27 18:32:31 +01:00
Rafa Gómez
ca05d28e05
Fail if xl 2020-02-27 17:42:21 +01:00
Rafa Gómez
5f3b5ec2cb
Paratemetrize sizes 2020-02-27 17:31:01 +01:00
Rafa Gómez
a038c9687d
Add readme 2020-02-27 17:08:37 +01:00
Rafa Gómez
28851d1d57
Add first basic version 2020-02-27 15:32:34 +01:00