pr_triage.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. name: "Pull Request Triage"
  2. on:
  3. - pull_request_target
  4. jobs:
  5. triage:
  6. permissions:
  7. contents: read
  8. pull-requests: write
  9. runs-on: ubuntu-latest
  10. steps:
  11. - name: Update labels based on changes
  12. uses: actions/labeler@v4
  13. with:
  14. sync-labels: true
  15. dot: true
  16. - uses: kentaro-m/auto-assign-action@v1.2.5
  17. with:
  18. configuration-path: '.github/assign/audio.yml'
  19. if: github.event.action == 'opened'
  20. - uses: kentaro-m/auto-assign-action@v1.2.5
  21. with:
  22. configuration-path: '.github/assign/cpu.yml'
  23. if: github.event.action == 'opened'
  24. - uses: kentaro-m/auto-assign-action@v1.2.5
  25. with:
  26. configuration-path: '.github/assign/gpu.yml'
  27. if: github.event.action == 'opened'
  28. - uses: kentaro-m/auto-assign-action@v1.2.5
  29. with:
  30. configuration-path: '.github/assign/gui.yml'
  31. if: github.event.action == 'opened'
  32. - uses: kentaro-m/auto-assign-action@v1.2.5
  33. with:
  34. configuration-path: '.github/assign/horizon.yml'
  35. if: github.event.action == 'opened'
  36. - uses: kentaro-m/auto-assign-action@v1.2.5
  37. with:
  38. configuration-path: '.github/assign/infra.yml'
  39. if: github.event.action == 'opened'
  40. - uses: kentaro-m/auto-assign-action@v1.2.5
  41. with:
  42. configuration-path: '.github/assign/global.yml'
  43. if: github.event.action == 'opened'