Compare commits
1 commit
a5895971ea
...
fa96cf8941
Author | SHA1 | Date | |
---|---|---|---|
fa96cf8941 |
2 changed files with 24 additions and 3 deletions
19
.gitea/size.yml
Normal file
19
.gitea/size.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
buckets:
|
||||
- maxSize: 80
|
||||
label: size/small
|
||||
comment: null
|
||||
- maxSize: 200
|
||||
label: size/medium
|
||||
comment: null
|
||||
- maxSize: 2000
|
||||
label: size/large
|
||||
comment: >
|
||||
👮♀️⚠️ This is a friendly reminder that the diff size of this PR is bigger than
|
||||
200 lines we aim for. Please consider splitting this PR into more digestible pieces!
|
||||
- maxSize: Infinity
|
||||
label: size/huge
|
||||
comment: >
|
||||
👮♀️🛑 This PR's diff size is quite huge.
|
||||
Hopefully you know what you're doing.
|
||||
If you did not commit a lot of autogenerated files intentionally,
|
||||
there are few good reasons for this.
|
|
@ -8,8 +8,10 @@ jobs:
|
|||
name: Check PR size
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Label and comment PR
|
||||
uses: boschresearch/pr-size-labeler@v5.0.1
|
||||
# Uncomment these lines if you want to use your own custom configuration
|
||||
# with:
|
||||
# bucketConfigFile: "<PATH_TO_YOUR_BUCKET_CONFIG>"
|
||||
with:
|
||||
bucketConfigFile: ".gitea/size.yml"
|
||||
|
|
Reference in a new issue