diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000000..c4d94d0a3d4f --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,22 @@ +# Documentation - https://github.com/actions/labeler + +'RSX': + - 'rpcs3/Emu/RSX/*' +'CPU': + - '**SPU*' + - '**PPU*' + - '**MFC*' +'Overlays': + - '**/RSX/Overlays/*' +'Network': + - '**sys_net/*' + - '**sys_net.cpp' + - '**sys_net.h' + - 'RPCS3/Emu/NP/*' +'Input': + - '**/Input/*' +'GUI': + - 'rpcs3/rpcs3qt/*' + - 'rpcs3/qt/*' +'Firmware: HLE': + - 'rpcs3/Emu/Cell/Modules/*' diff --git a/.github/workflows/triage_pr2.yml b/.github/workflows/triage_pr2.yml new file mode 100644 index 000000000000..790a2a3f7034 --- /dev/null +++ b/.github/workflows/triage_pr2.yml @@ -0,0 +1,17 @@ +# Runs steps to triage an incoming Pull Request, for example - applying labels. +name: Pull Request Triage + +on: [pull_request_target] + +jobs: + label: + if: github.repository == 'RPCS3/rpcs3' + runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: write + + steps: + - uses: actions/labeler@v4 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file