mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-18 19:29:18 +01:00
21 lines
655 B
YAML
21 lines
655 B
YAML
name: Edge CI
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [synchronize, reopened, closed, labeled, unlabeled]
|
|
|
|
jobs:
|
|
update-patches:
|
|
# Run if the 'edge' label was added/removed, or if an edge PR was synchronized/reopened/closed
|
|
if: |
|
|
github.event.label.name == 'edge' ||
|
|
!contains(github.event.action, 'labeled') && contains(github.event.pull_request.labels.*.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
|