Add workflow "PR size labeler" to label PRs based on the number of changed lines

This should help reviewers to determine which PRs to review.
This commit is contained in:
TobiGr 2023-06-17 20:41:38 +02:00 committed by Stypox
parent c68a6ee0ed
commit d622993483
No known key found for this signature in database
GPG key ID: 4BDF1B40A49FDD23
2 changed files with 30 additions and 0 deletions

13
.github/workflows/pr-labeler.yml vendored Normal file
View file

@ -0,0 +1,13 @@
name: "PR size labeler"
on: [pull_request]
jobs:
changed-lines-count-labeler:
runs-on: ubuntu-latest
name: Automatically labelling pull requests based on the changed lines count
steps:
- name: Set a label
uses: vkirilichev/changed-lines-count-labeler@v0.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/changed-lines-count-labeler.yml