mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-22 22:45:46 +00:00
infra: Add PR triage action (#5293)
This is a bare minimal triage action that handle big categories. In the future we could also label all services correctly but I didn't felt this was required for a first iteration.
This commit is contained in:
parent
9a1b74799d
commit
0cc266ff19
9 changed files with 148 additions and 0 deletions
8
.github/assign/audio.yml
vendored
Normal file
8
.github/assign/audio.yml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- marysaka
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- audio
|
11
.github/assign/cpu.yml
vendored
Normal file
11
.github/assign/cpu.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- gdkchan
|
||||
- riperiperi
|
||||
- marysaka
|
||||
- LDj3SNuD
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- cpu
|
4
.github/assign/global.yml
vendored
Normal file
4
.github/assign/global.yml
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- Developers
|
10
.github/assign/gpu.yml
vendored
Normal file
10
.github/assign/gpu.yml
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- gdkchan
|
||||
- riperiperi
|
||||
- marysaka
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- gpu
|
11
.github/assign/gui.yml
vendored
Normal file
11
.github/assign/gui.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- Ack77
|
||||
- emmauss
|
||||
- TSRBerry
|
||||
- marysaka
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- gui
|
11
.github/assign/horizon.yml
vendored
Normal file
11
.github/assign/horizon.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- gdkchan
|
||||
- Ack77
|
||||
- marysaka
|
||||
- TSRBerry
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- horizon
|
9
.github/assign/infra.yml
vendored
Normal file
9
.github/assign/infra.yml
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- marysaka
|
||||
- TSRBerry
|
||||
|
||||
filterLabels:
|
||||
include:
|
||||
- infra
|
33
.github/labeler.yml
vendored
Normal file
33
.github/labeler.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
audio: 'src/Ryujinx.Audio*'
|
||||
|
||||
cpu:
|
||||
- 'src/ARMeilleure//*'
|
||||
- 'src/Ryujinx.Cpu/*'
|
||||
- 'src/Ryujinx.Memory/*'
|
||||
|
||||
gpu:
|
||||
- 'src/Ryujinx.Graphics.*'
|
||||
- 'src/Spv.Generator/*'
|
||||
- 'src/Ryujinx.ShaderTools/*'
|
||||
|
||||
'graphics-backend:opengl': 'src/Ryujinx.Graphics.OpenGL/*'
|
||||
'graphics-backend:vulkan':
|
||||
- 'src/Ryujinx.Graphics.Vulkan/*'
|
||||
- 'src/Spv.Generator/*'
|
||||
|
||||
gui:
|
||||
- 'src/Ryujinx/*'
|
||||
- 'src/Ryujinx.Ui.Common/*'
|
||||
- 'src/Ryujinx.Ui.LocaleGenerator/*'
|
||||
- 'src/Ryujinx.Ava/*'
|
||||
|
||||
horizon:
|
||||
- 'src/Ryujinx.HLE/*'
|
||||
- 'src/Ryujinx.Horizon*'
|
||||
|
||||
kernel: 'src/Ryujinx.HLE/HOS/Kernel/*'
|
||||
|
||||
infra:
|
||||
- '.github/*'
|
||||
- 'distribution/*'
|
||||
- 'Directory.Packages.props'
|
51
.github/workflows/pr_triage.yml
vendored
Normal file
51
.github/workflows/pr_triage.yml
vendored
Normal file
|
@ -0,0 +1,51 @@
|
|||
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
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/audio.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/cpu.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/gpu.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/gui.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/horizon.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/infra.yml'
|
||||
if: github.event.action == 'opened'
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
with:
|
||||
configuration-path: '.github/assign/global.yml'
|
||||
if: github.event.action == 'opened'
|
Loading…
Reference in a new issue