2023-02-10 01:23:13 +03:00
|
|
|
name: Edge CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request_target:
|
2023-02-12 05:22:00 +03:00
|
|
|
types: [synchronize, reopened, closed, labeled, unlabeled]
|
2023-02-10 01:23:13 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
update-patches:
|
2023-02-12 05:22:00 +03:00
|
|
|
# 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')
|
2023-02-10 01:23:13 +03:00
|
|
|
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
|