Trigger an edge patch update on `edge` label added/removed

This commit is contained in:
lynxnb 2023-02-09 23:23:13 +01:00
parent bff232f326
commit e9907d2fac
1 changed files with 17 additions and 0 deletions

17
.github/workflows/edge-ci.yml vendored Normal file
View File

@ -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