label.yml 721 B

12345678910111213141516171819202122232425262728
  1. # Copyright (C) Daniel Fandrich, <dan@coneharvesters.com>, et al.
  2. #
  3. # SPDX-License-Identifier: curl
  4. # This workflow will triage pull requests and apply a label based on the
  5. # paths that are modified in the pull request.
  6. #
  7. # To use this workflow, you will need to set up a .github/labeler.yml
  8. # file with configuration. For more information, see:
  9. # https://github.com/actions/labeler
  10. name: Labeler
  11. on: [pull_request_target]
  12. jobs:
  13. label:
  14. runs-on: ubuntu-latest
  15. permissions:
  16. contents: read
  17. pull-requests: write
  18. steps:
  19. - uses: actions/labeler@v5.0.0-beta.1
  20. with:
  21. repo-token: "${{ secrets.GITHUB_TOKEN }}"
  22. # This is documented but doesn't work yet:
  23. #dot: true