Merge pull request #2116 from RadWolfie/action-pr-labeler

Add Pull Request Labeler Support
This commit is contained in:
Luke Usher 2021-03-02 15:19:31 +00:00 committed by GitHub
commit 018a8061ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 88 additions and 0 deletions

74
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,74 @@
#labels are sorted by alphabet order.
cmake:
- CMake*
- '**/CMakeLists.txt'
- '**/*.cmake'
cpu-emulation:
- src/devices/x86/**
deployment:
- '*.yml'
- .github/workflows/CI.yml
file-system:
- src/core/kernel/support/EmuFile*
graphics:
- src/core/hle/D3D8/**
- src/core/hle/XGRAPHIC/**
- src/devices/video/**
- src/gui/*Video*
HLE:
- src/core/hle/**
- src/core/kernel/**
informational:
- '**/*Logging*'
- '**/*Logging*/**'
input:
- src/common/input/**
- src/core/hle/XAPI/input/**
- src/devices/usb/**
- src/gui/controllers/**
- src/gui/*Input*
kernel:
- src/core/kernel/**
LLE:
- src/devices/**
memory:
- src/core/kernel/memory-manager/**
networking:
- src/core/hle/XONLINE/**
- src/devices/network/**
- src/gui/*Network*
sound:
- src/common/audio/**
- src/core/hle/DSOUND/**
- src/core/hle/XACTENG/**
- src/devices/audio/**
- src/gui/*Audio*
modules:
- import/**
threading:
- src/core/kernel/support/EmuFS*
timing:
- src/common/Timer*
user interface:
- src/gui/**
# - TODO: Dear Imgui location, maybe in src/core/gui path.
xbdm:
- src/common/xbdm/**

14
.github/workflows/pull-request.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Pull Request Manager
on:
pull_request_target:
jobs:
pr_manager:
runs-on: ubuntu-latest
steps:
- name: Labeler
uses: actions/labeler@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
sync-labels: true