Skip to content

Commit d2c48aa

Browse files
committed
Add submodule listener
1 parent b01145a commit d2c48aa

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Notify Root Repo
2+
3+
on:
4+
push:
5+
branches: [latest]
6+
7+
jobs:
8+
notify:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Notify root repository
12+
run: |
13+
curl -X POST \
14+
-H "Authorization: token ${{ secrets.BORA_ROOT_PAL }}" \
15+
-H "Accept: application/vnd.github.v3+json" \
16+
https://api.github.com/repos/boradevelopment/bora/dispatches \
17+
-d '{"event_type":"update_submodule","client_payload":{"repo":"${{ github.repository }}"}}'

0 commit comments

Comments
 (0)