2023-06-17 20:41:38 +02:00
|
|
|
name: "PR size labeler"
|
2024-03-28 12:03:10 +01:00
|
|
|
on: [pull_request_target]
|
2023-09-24 20:24:57 +02:00
|
|
|
permissions:
|
2023-09-26 10:40:17 +02:00
|
|
|
contents: read
|
2023-09-24 20:24:57 +02:00
|
|
|
pull-requests: write
|
2023-06-17 20:41:38 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
changed-lines-count-labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
name: Automatically labelling pull requests based on the changed lines count
|
2023-09-27 10:04:27 +02:00
|
|
|
permissions:
|
|
|
|
pull-requests: write
|
2023-06-17 20:41:38 +02:00
|
|
|
steps:
|
|
|
|
- name: Set a label
|
2023-10-02 02:12:24 +02:00
|
|
|
uses: TeamNewPipe/changed-lines-count-labeler@main
|
2023-06-17 20:41:38 +02:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
configuration-path: .github/changed-lines-count-labeler.yml
|