2023-06-17 18:41:38 +00:00
|
|
|
name: "PR size labeler"
|
2024-03-28 11:03:10 +00:00
|
|
|
on: [pull_request_target]
|
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
|
2023-10-02 00:12:24 +00:00
|
|
|
uses: TeamNewPipe/changed-lines-count-labeler@main
|
2023-06-17 18:41:38 +00:00
|
|
|
with:
|
|
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
configuration-path: .github/changed-lines-count-labeler.yml
|