labeler.yml 542 B

123456789101112131415161718192021
  1. ---
  2. # Handles labelling of PR's.
  3. name: Pull Request Labeler
  4. on:
  5. pull_request_target: null
  6. concurrency:
  7. group: pr-label-${{ github.repository_id }}-${{ github.event.pull_request.number }}
  8. cancel-in-progress: true
  9. jobs:
  10. labeler:
  11. name: Apply PR Labels
  12. runs-on: ubuntu-latest
  13. permissions:
  14. contents: read
  15. pull-requests: write
  16. steps:
  17. - uses: actions/labeler@v5
  18. if: github.repository == 'netdata/netdata'
  19. with:
  20. repo-token: "${{ secrets.GITHUB_TOKEN }}"
  21. sync-labels: true