Skip to content

Commit 23d73c6

Browse files
CrusherNotDripTechnikTil
authored andcommitted
uhhh do another rename + size labeler
1 parent c0c2bf0 commit 23d73c6

4 files changed

Lines changed: 41 additions & 19 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Add 'Size: Small' to any changes below 15 lines
2+
'Size: Small':
3+
max: 14
4+
5+
# Add 'Size: Medium' to any changes between 15 and 100 lines
6+
'Size: Medium':
7+
min: 15
8+
max: 99
9+
10+
# Add 'Size: Large' to any changes for more than 100 lines
11+
'Size: Large':
12+
min: 100
13+
14+
# Grant the 'MASSIVE' trophy for changes above 500 lines.
15+
'Trophy: MASSIVE':
16+
min: 500

.github/workflows/pr-labeler.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Pull Request Labeler
2+
3+
on:
4+
- pull_request_target
5+
6+
jobs:
7+
# PR Info Labeler, gives the `PR: ` labels upon creation.
8+
labeler:
9+
permissions:
10+
contents: read
11+
pull-requests: write
12+
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: "Set pull request type labels."
16+
uses: actions/labeler@v5
17+
with:
18+
configuration-path: ".github/configs/pr-type-labeler.yml"
19+
sync-labels: true
20+
21+
- name: "Set pull request size labels."
22+
uses: vkirilichev/changed-lines-count-labeler@v0.2
23+
with:
24+
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
configuration-path: .github/configs/pr-size-labeler.yml

.github/workflows/pr_labeler.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)