feat: Add size workflow
This commit is contained in:
parent
5b28baaecf
commit
f1b5cf1213
2 changed files with 17 additions and 0 deletions
0
.forgejo/size.yml
Normal file
0
.forgejo/size.yml
Normal file
17
.forgejo/workflows/size.yml
Normal file
17
.forgejo/workflows/size.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Label PRs based on size
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
add_pr_size_label:
|
||||
runs-on: ubuntu-latest
|
||||
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
|
||||
with:
|
||||
bucketConfigFile: ".forgejo/size.yml"
|
Loading…
Add table
Add a link
Reference in a new issue