Skip to content

Commit fb305a9

Browse files
authored
Merge pull request #1 from personalrobotics/add_submodules_workflow
Add submodules workflow
2 parents 36eb75f + 05a2d90 commit fb305a9

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Trigger Parent Repo
2+
3+
on:
4+
push:
5+
branches:
6+
- geodude
7+
8+
jobs:
9+
dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger parent repo rebuild
13+
run: |
14+
curl -X POST \
15+
-H "Accept: application/vnd.github+json" \
16+
-H "Authorization: Bearer ${{ secrets.PARENT_REPO_PAT }}" \
17+
https://api.github.com/repos/personalrobotics/mj_geodude/dispatches \
18+
-d '{"event_type":"submodule-updated"}'
19+
echo "Triggered parent repo rebuild for submodule updates"

0 commit comments

Comments
 (0)