We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19e2e92 commit 1bc5cefCopy full SHA for 1bc5cef
1 file changed
.github/workflows/notify-main.yml
@@ -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