Funkin/.github/workflows/labeler.yml

28 lines
724 B
YAML
Raw Normal View History

2024-05-23 14:37:50 -04:00
name: "Pull Request Labeler"
on:
2024-05-23 14:53:25 -04:00
- pull_request_target
2024-05-23 14:37:50 -04:00
jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Set basic labels
uses: actions/labeler@v5
2024-05-23 14:37:50 -04:00
with:
sync-labels: true
changed-lines-count-labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
name: An action for automatically labelling pull requests based on the changed lines count
steps:
- name: Set change count labels
uses: vkirilichev/changed-lines-count-labeler@v0.2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/changed-lines-count-labeler.yml