ryujinx-mirror/.github/workflows/pr_triage.yml
TSRBerry 5a02433080
infra: Fix PR triage workflow glob patterns (#5297)
* Use glob patterns to match file paths

* Update ignored paths for releases

* Adjust build.yml as well

* Add names to auto-assign steps

* Fix developer team name

* Allow build workflows to run if workflows changed
2023-06-12 18:42:27 +00:00

58 lines
No EOL
1.6 KiB
YAML

name: "Pull Request Triage"
on:
pull_request_target:
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Update labels based on changes
uses: actions/labeler@v4
with:
sync-labels: true
dot: true
- name: Auto Assign [Audio]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/audio.yml'
if: github.event.action == 'opened'
- name: Auto Assign [CPU]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/cpu.yml'
if: github.event.action == 'opened'
- name: Auto Assign [GPU]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/gpu.yml'
if: github.event.action == 'opened'
- name: Auto Assign [GUI]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/gui.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Horizon]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/horizon.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Infra]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/infra.yml'
if: github.event.action == 'opened'
- name: Auto Assign [Global]
uses: kentaro-m/auto-assign-action@v1
with:
configuration-path: '.github/assign/global.yml'
if: github.event.action == 'opened'