Skip to content

Commit 96acebb

Browse files
committed
[submodule] update listener
1 parent 2845c4a commit 96acebb

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/submodule_sender.yaml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Notify Root Repo
2-
32
on:
43
push:
5-
branches: [latest]
4+
branches: ["*"]
65

76
jobs:
87
notify:
@@ -14,4 +13,10 @@ jobs:
1413
-H "Authorization: token ${{ secrets.BORA_ROOT_PAL }}" \
1514
-H "Accept: application/vnd.github.v3+json" \
1615
https://api.github.com/repos/boradevelopment/bora/dispatches \
17-
-d '{"event_type":"update_submodule","client_payload":{"repo":"${{ github.repository }}"}}'
16+
-d '{
17+
"event_type": "update_submodule",
18+
"client_payload": {
19+
"repo": "${{ github.repository }}",
20+
"branch": "${{ github.ref_name }}"
21+
}
22+
}'

0 commit comments

Comments
 (0)