label.yml 689 B

1234567891011121314151617181920212223242526
  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@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
  20. with:
  21. repo-token: "${{ secrets.GITHUB_TOKEN }}"