-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (30 loc) · 1.19 KB
/
submodule_dispatch_workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Push submodule update dispatch event to droidboot_device_* repo
on:
push:
branches: [main]
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
repo: [
"Android-Boot-Manager/droidboot_device_volla_yggdrasil",
"Android-Boot-Manager/droidboot_device_planet_astroslide",
"Android-Boot-Manager/droidboot_device_generic_u-boot",
"Android-Boot-Manager/droidboot_device_planet_cosmocom",
"Android-Boot-Manager/droidboot_device_planet_geminipda",
"Android-Boot-Manager/droidboot_device_volla_mimameid",
"Android-Boot-Manager/droidboot_device_yggdrasilx",
"Android-Boot-Manager/droidboot_device_gigaset_gx4",
"Android-Boot-Manager/droidboot_device_qcom_lk2nd"
]
steps:
- name: Notify droidboot_device_* repo
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PAT }}
repository: ${{ matrix.repo }}
event-type: submodule-update
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "Android-Boot-Manager/droidboot_gui", "branch": "main"}'