Skip to content

Commit

Permalink
Create pr-size-label.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Anu27n authored Oct 10, 2024
1 parent 4f97991 commit bade930
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/pr-size-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: PR Size Labeler

on:
pull_request:
types: [opened, synchronize]

jobs:
pr_size:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v2

- name: Label PR based on size
uses: assignLabel/PRSize@v2
with:
small: '10' # Label PRs with less than 10 lines changed as "small"
medium: '50' # Label PRs with less than 50 lines changed as "medium"
large: '100' # Label PRs with less than 100 lines changed as "large"
xlarge: '500' # Label PRs with less than 500 lines changed as "xlarge"

0 comments on commit bade930

Please sign in to comment.