Skip to content

Commit 1bc5cef

Browse files
authored
Create notify-main.yml
1 parent 19e2e92 commit 1bc5cef

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/notify-main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Notify Main Repo of Submodule Update
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Change if you track another branch
7+
8+
jobs:
9+
dispatch:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Trigger repository dispatch event in main repo
13+
uses: peter-evans/repository-dispatch@v2
14+
with:
15+
token: ${{ secrets.MAIN_REPO_PAT }}
16+
repository: ai-safety-graph/AISafetyGraph
17+
event-type: submodule-updated

0 commit comments

Comments
 (0)