pr_triage.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. - name: Auto Assign [Audio]
  17. uses: kentaro-m/auto-assign-action@v1.2.5
  18. with:
  19. configuration-path: '.github/assign/audio.yml'
  20. if: github.event.action == 'opened'
  21. - name: Auto Assign [CPU]
  22. uses: kentaro-m/auto-assign-action@v1.2.5
  23. with:
  24. configuration-path: '.github/assign/cpu.yml'
  25. if: github.event.action == 'opened'
  26. - name: Auto Assign [GPU]
  27. uses: kentaro-m/auto-assign-action@v1.2.5
  28. with:
  29. configuration-path: '.github/assign/gpu.yml'
  30. if: github.event.action == 'opened'
  31. - name: Auto Assign [GUI]
  32. uses: kentaro-m/auto-assign-action@v1.2.5
  33. with:
  34. configuration-path: '.github/assign/gui.yml'
  35. if: github.event.action == 'opened'
  36. - name: Auto Assign [Horizon]
  37. uses: kentaro-m/auto-assign-action@v1.2.5
  38. with:
  39. configuration-path: '.github/assign/horizon.yml'
  40. if: github.event.action == 'opened'
  41. - name: Auto Assign [Infra]
  42. uses: kentaro-m/auto-assign-action@v1.2.5
  43. with:
  44. configuration-path: '.github/assign/infra.yml'
  45. if: github.event.action == 'opened'
  46. - name: Auto Assign [Global]
  47. uses: kentaro-m/auto-assign-action@v1.2.5
  48. with:
  49. configuration-path: '.github/assign/global.yml'
  50. if: github.event.action == 'opened'