mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-27 09:59:33 +01:00
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:
parent
915a0f7173
commit
5a02433080
5 changed files with 47 additions and 44 deletions
2
.github/assign/global.yml
vendored
2
.github/assign/global.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
addReviewers: true
|
||||
|
||||
reviewers:
|
||||
- Developers
|
||||
- Ryujinx/developers
|
40
.github/labeler.yml
vendored
40
.github/labeler.yml
vendored
|
@ -1,33 +1,33 @@
|
|||
audio: 'src/Ryujinx.Audio*'
|
||||
audio: 'src/Ryujinx.Audio*/**'
|
||||
|
||||
cpu:
|
||||
- 'src/ARMeilleure//*'
|
||||
- 'src/Ryujinx.Cpu/*'
|
||||
- 'src/Ryujinx.Memory/*'
|
||||
- 'src/ARMeilleure/**'
|
||||
- 'src/Ryujinx.Cpu/**'
|
||||
- 'src/Ryujinx.Memory/**'
|
||||
|
||||
gpu:
|
||||
- 'src/Ryujinx.Graphics.*'
|
||||
- 'src/Spv.Generator/*'
|
||||
- 'src/Ryujinx.ShaderTools/*'
|
||||
- 'src/Ryujinx.Graphics.*/**'
|
||||
- 'src/Spv.Generator/**'
|
||||
- 'src/Ryujinx.ShaderTools/**'
|
||||
|
||||
'graphics-backend:opengl': 'src/Ryujinx.Graphics.OpenGL/*'
|
||||
'graphics-backend:opengl': 'src/Ryujinx.Graphics.OpenGL/**'
|
||||
'graphics-backend:vulkan':
|
||||
- 'src/Ryujinx.Graphics.Vulkan/*'
|
||||
- 'src/Spv.Generator/*'
|
||||
- 'src/Ryujinx.Graphics.Vulkan/**'
|
||||
- 'src/Spv.Generator/**'
|
||||
|
||||
gui:
|
||||
- 'src/Ryujinx/*'
|
||||
- 'src/Ryujinx.Ui.Common/*'
|
||||
- 'src/Ryujinx.Ui.LocaleGenerator/*'
|
||||
- 'src/Ryujinx.Ava/*'
|
||||
- 'src/Ryujinx/**'
|
||||
- 'src/Ryujinx.Ui.Common/**'
|
||||
- 'src/Ryujinx.Ui.LocaleGenerator/**'
|
||||
- 'src/Ryujinx.Ava/**'
|
||||
|
||||
horizon:
|
||||
- 'src/Ryujinx.HLE/*'
|
||||
- 'src/Ryujinx.Horizon*'
|
||||
- 'src/Ryujinx.HLE/**'
|
||||
- 'src/Ryujinx.Horizon*/**'
|
||||
|
||||
kernel: 'src/Ryujinx.HLE/HOS/Kernel/*'
|
||||
kernel: 'src/Ryujinx.HLE/HOS/Kernel/**'
|
||||
|
||||
infra:
|
||||
- '.github/*'
|
||||
- 'distribution/*'
|
||||
- 'Directory.Packages.props'
|
||||
- '.github/**'
|
||||
- 'distribution/**'
|
||||
- 'Directory.Packages.props'
|
19
.github/workflows/build.yml
vendored
19
.github/workflows/build.yml
vendored
|
@ -3,20 +3,15 @@ name: Build job
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs: {}
|
||||
#push:
|
||||
# branches: [ master ]
|
||||
# paths-ignore:
|
||||
# - '.github/*'
|
||||
# - '.github/ISSUE_TEMPLATE/**'
|
||||
# - '*.yml'
|
||||
# - 'README.md'
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- '.github/*'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '*.yml'
|
||||
- 'README.md'
|
||||
paths:
|
||||
- '!.github/**'
|
||||
- '!*.yml'
|
||||
- '!*.json'
|
||||
- '!*.config'
|
||||
- '!README.md'
|
||||
- '.github/workflows/*.yml'
|
||||
|
||||
concurrency:
|
||||
group: pr-checks-${{ github.event.number }}
|
||||
|
|
25
.github/workflows/pr_triage.yml
vendored
25
.github/workflows/pr_triage.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: "Pull Request Triage"
|
||||
on:
|
||||
- pull_request_target
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
|
@ -15,37 +15,44 @@ jobs:
|
|||
sync-labels: true
|
||||
dot: true
|
||||
|
||||
- uses: kentaro-m/auto-assign-action@v1.2.5
|
||||
- name: Auto Assign [Audio]
|
||||
uses: kentaro-m/auto-assign-action@v1
|
||||
with:
|
||||
configuration-path: '.github/assign/audio.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/cpu.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/gpu.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/gui.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/horizon.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/infra.yml'
|
||||
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:
|
||||
configuration-path: '.github/assign/global.yml'
|
||||
if: github.event.action == 'opened'
|
||||
if: github.event.action == 'opened'
|
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
@ -6,9 +6,10 @@ on:
|
|||
push:
|
||||
branches: [ master ]
|
||||
paths-ignore:
|
||||
- '.github/*'
|
||||
- '.github/ISSUE_TEMPLATE/**'
|
||||
- '.github/**'
|
||||
- '*.yml'
|
||||
- '*.json'
|
||||
- '*.config'
|
||||
- 'README.md'
|
||||
|
||||
concurrency: release
|
||||
|
|
Loading…
Reference in a new issue