label.yml 575 B

12345678910111213141516171819202122
  1. # This workflow will triage pull requests and apply a label based on the
  2. # paths that are modified in the pull request.
  3. #
  4. # To use this workflow, you will need to set up a .github/labeler.yml
  5. # file with configuration. For more information, see:
  6. # https://github.com/actions/labeler
  7. # For inspiration see: https://github.com/NixOS/nixpkgs/blob/master/.github/workflows/labels.yml
  8. name: Labeler
  9. on: [pull_request_target]
  10. jobs:
  11. label:
  12. runs-on: ubuntu-latest
  13. permissions:
  14. contents: read
  15. pull-requests: write
  16. steps:
  17. - uses: actions/labeler@v4