label.yml 596 B

123456789101112131415161718192021222324
  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:
  10. pull_request_target:
  11. types: [opened]
  12. jobs:
  13. label:
  14. runs-on: ubuntu-latest
  15. permissions:
  16. contents: read
  17. pull-requests: write
  18. steps:
  19. - uses: actions/labeler@v4