From e9907d2facd7796e3695e8b5f584567c7f123d95 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Thu, 9 Feb 2023 23:23:13 +0100 Subject: [PATCH] Trigger an edge patch update on `edge` label added/removed --- .github/workflows/edge-ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/edge-ci.yml diff --git a/.github/workflows/edge-ci.yml b/.github/workflows/edge-ci.yml new file mode 100644 index 00000000..a3d9236f --- /dev/null +++ b/.github/workflows/edge-ci.yml @@ -0,0 +1,17 @@ +name: Edge CI + +on: + pull_request_target: + types: [labeled, unlabeled] + +jobs: + update-patches: + if: github.event.label.name == 'edge' + runs-on: ubuntu-latest + steps: + - name: Update Edge patches + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.EDGE_PATCH_PAT }} + repository: skyline-emu/edge-patch + event-type: update-patches