From c0fadaa3746c5c4c3fa35ae46156c12594bab91c Mon Sep 17 00:00:00 2001 From: Eladash Date: Wed, 26 Jul 2023 20:59:16 +0300 Subject: [PATCH] Create triage_pr.yml --- .github/labeler.yml | 22 ++++++++++++++++++++++ .github/workflows/triage_pr2.yml | 17 +++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/triage_pr2.yml 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