diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..1393ccb102 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,108 @@ +# Documentation - https://github.com/actions/labeler + +# General Labels +'Build | Project System': + - '.github/*' + - '.github/**/*' + - '*.sln' + - '**/*.sln' + - '*.vcxproj*' + - '**/*.vcxproj*' + - 'cmake/*' + - 'cmake/**/*' + - 'CMakeLists.txt' + - '**/CMakeLists.txt' + - 'buildbot.xml' + - 'build.sh' +'Dependencies': + - '3rdparty/*' + - '3rdparty/**/*' + - '**/3rdpartyDeps.props' + - '.gitmodules' +'Documentation': + - '*.md' + - '**/*.md' + - '*.pdf' + - '**/*.pdf' +'GUI/WX': + - 'pcsx2/gui/*' + - 'pcsx2/gui/**/*' +'GameDB': + - '**/GameIndex.*' +'Installer | Package': + - 'nsis/*' + - 'nsis/**/*' + - 'build.sh' + +# Tools / Features +'Debugger': + - 'pcsx2/DebugTools/*' + - 'pcsx2/DebugTools/**/*' + - 'pcsx2/gui/Debugger/*' + - 'pcsx2/gui/Debugger/**/*' +'IPC': + - 'pcsx2/IPC*' + - 'pcsx2/**/IPC*' +'TAS Functionality': + - 'pcsx2/Recording/*' + - 'pcsx2/Recording/**/*' + +# Emulation Components +'Counters': + - 'pcsx2/Counters.*' +'Vector Units': + - 'pcsx2/VU*' + - 'pcsx2/**/VU*' + - 'pcsx2/*VU*' + - 'pcsx2/**/*VU*' +'VIF': + - 'pcsx2/Vif*' + - 'pcsx2/**/Vif*' + - 'pcsx2/VIF*' + - 'pcsx2/**/VIF*' + +# GS Related Labels +'Plugin: GS': # TODO - update after plugin merge + - '**/GSdx/*' + - '**/GSdx/**' +'GS: Direct3D': + - '**/GSdx/Renderers/DX11/*' + - '**/GSdx/Renderers/DX11/**/*' +'GS: Hardware': + - '**/GSdx/Renderers/HW/*' + - '**/GSdx/Renderers/HW/**/*' +'GS: OpenGL': + - '**/GSdx/Renderers/OpenGL/*' + - '**/GSdx/Renderers/OpenGL/**/*' +'GS: Texture Cache': + - '**/GSdx/Renderers/*TextureCache*.*' + - '**/GSdx/Renderers/**/*TextureCache*.*' +'GS: Software': + - '**/GSdx/Renderers/SW/*' + - '**/GSdx/Renderers/SW/**/*' + +# Other Core Components +'CDVD': + - 'pcsx2/CDVD/*' + - 'pcsx2/CDVD/**/*' +'DEV9': + - 'pcsx2/DEV9/*' + - 'pcsx2/DEV9/**/*' +'IPU': + - 'pcsx2/IPU/*' + - 'pcsx2/IPU/**/*' +'Memory Card': + - 'pcsx2/gui/MemoryCard*' + - 'pcsx2/gui/**/MemoryCard*' +'PAD: Linux/Mac': + - 'pcsx2/PAD/Linux/*' + - 'pcsx2/PAD/Linux/**/*' +'PAD: Windows': + - 'pcsx2/PAD/Windows/*' + - 'pcsx2/PAD/Windows/**/*' +'SPU2': + - 'pcsx2/SPU2/*' + - 'pcsx2/SPU2/**/*' +'USB': + - 'pcsx2/USB/*' + - 'pcsx2/USB/**/*' diff --git a/.github/workflows/pr-triage.yml b/.github/workflows/pr-triage.yml new file mode 100644 index 0000000000..519151ee15 --- /dev/null +++ b/.github/workflows/pr-triage.yml @@ -0,0 +1,15 @@ +# Runs steps to triage an incoming Pull Request, for example - applying labels. +name: "Pull Request Triage" + +on: + pull_request_target: + branches: + - '*' + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@main + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"