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
This commit is contained in:
TSRBerry 2023-06-12 20:42:27 +02:00 committed by TSR Berry
parent d49975abb2
commit 08d93a5ad7
No known key found for this signature in database
GPG key ID: 52353C0A4CCA15E2
3 changed files with 37 additions and 30 deletions

View file

@ -1,4 +1,4 @@
addReviewers: true addReviewers: true
reviewers: reviewers:
- Developers - Ryujinx/developers

38
.github/labeler.yml vendored
View file

@ -1,33 +1,33 @@
audio: 'src/Ryujinx.Audio*' audio: 'src/Ryujinx.Audio*/**'
cpu: cpu:
- 'src/ARMeilleure//*' - 'src/ARMeilleure/**'
- 'src/Ryujinx.Cpu/*' - 'src/Ryujinx.Cpu/**'
- 'src/Ryujinx.Memory/*' - 'src/Ryujinx.Memory/**'
gpu: gpu:
- 'src/Ryujinx.Graphics.*' - 'src/Ryujinx.Graphics.*/**'
- 'src/Spv.Generator/*' - 'src/Spv.Generator/**'
- 'src/Ryujinx.ShaderTools/*' - 'src/Ryujinx.ShaderTools/**'
'graphics-backend:opengl': 'src/Ryujinx.Graphics.OpenGL/*' 'graphics-backend:opengl': 'src/Ryujinx.Graphics.OpenGL/**'
'graphics-backend:vulkan': 'graphics-backend:vulkan':
- 'src/Ryujinx.Graphics.Vulkan/*' - 'src/Ryujinx.Graphics.Vulkan/**'
- 'src/Spv.Generator/*' - 'src/Spv.Generator/**'
gui: gui:
- 'src/Ryujinx/*' - 'src/Ryujinx/**'
- 'src/Ryujinx.Ui.Common/*' - 'src/Ryujinx.Ui.Common/**'
- 'src/Ryujinx.Ui.LocaleGenerator/*' - 'src/Ryujinx.Ui.LocaleGenerator/**'
- 'src/Ryujinx.Ava/*' - 'src/Ryujinx.Ava/**'
horizon: horizon:
- 'src/Ryujinx.HLE/*' - 'src/Ryujinx.HLE/**'
- 'src/Ryujinx.Horizon*' - 'src/Ryujinx.Horizon*/**'
kernel: 'src/Ryujinx.HLE/HOS/Kernel/*' kernel: 'src/Ryujinx.HLE/HOS/Kernel/**'
infra: infra:
- '.github/*' - '.github/**'
- 'distribution/*' - 'distribution/**'
- 'Directory.Packages.props' - 'Directory.Packages.props'

View file

@ -1,6 +1,6 @@
name: "Pull Request Triage" name: "Pull Request Triage"
on: on:
- pull_request_target pull_request_target:
jobs: jobs:
triage: triage:
@ -15,37 +15,44 @@ jobs:
sync-labels: true sync-labels: true
dot: true dot: true
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [Audio]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/audio.yml' configuration-path: '.github/assign/audio.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [CPU]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/cpu.yml' configuration-path: '.github/assign/cpu.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [GPU]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/gpu.yml' configuration-path: '.github/assign/gpu.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [GUI]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/gui.yml' configuration-path: '.github/assign/gui.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [Horizon]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/horizon.yml' configuration-path: '.github/assign/horizon.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [Infra]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/infra.yml' configuration-path: '.github/assign/infra.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'
- uses: kentaro-m/auto-assign-action@v1.2.5 - name: Auto Assign [Global]
uses: kentaro-m/auto-assign-action@v1
with: with:
configuration-path: '.github/assign/global.yml' configuration-path: '.github/assign/global.yml'
if: github.event.action == 'opened' if: github.event.action == 'opened'