File tree Expand file tree Collapse file tree 2 files changed +28
-0
lines changed
Expand file tree Collapse file tree 2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ concurrency: release-docs
44
55on :
66 workflow_dispatch :
7+ workflow_run :
8+ workflows : ["Synchronize submodules"]
9+ types :
10+ - completed
711 push :
812 branches :
913 - ' docs-*'
Original file line number Diff line number Diff line change 1+ name : Synchronize submodules
2+
3+ concurrency : update-submodules
4+
5+ on :
6+ repository_dispatch :
7+ types : [update-submodules]
8+
9+ jobs :
10+ deploy :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+ with :
16+ submodules : " recursive"
17+ - name : Sync submodules and commit
18+ run : |
19+ git config user.name "fullstack-devops[bot]"
20+ git config user.email "fullstack-devops[bot]@users.noreply.github.com"
21+ git pull --recurse-submodules
22+ git status
23+ git commit -a -m "submodules synchronized"
24+ git push
You can’t perform that action at this time.
0 commit comments