2023-06-17 18:41:38 +00:00
|
|
|
name: "PR size labeler"
|
|
|
|
on: [pull_request]
|
2023-09-24 18:24:57 +00:00
|
|
|
permissions:
|
2023-09-26 08:40:17 +00:00
|
|
|
contents: read
|
2023-09-24 18:24:57 +00:00
|
|
|
pull-requests: write
|
2023-06-17 18:41:38 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
changed-lines-count-labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Automatically labelling pull requests based on the changed lines count
|
2023-09-27 08:04:27 +00:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
2023-06-17 18:41:38 +00:00
|
|
|
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
|