Skip to content

Commit 7142c38

Browse files
authored
Also run on push
1 parent 8649e06 commit 7142c38

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/update-submodules.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
name: Update Submodules
22

33
on:
4+
push:
5+
branches:
6+
- main # Change this if your default branch is different
47
schedule:
58
- cron: '0 0 * * *' # Runs daily at midnight UTC
6-
workflow_dispatch: # Allows manual triggering
9+
workflow_dispatch: # Allows manual triggering from GitHub Actions UI
710

811
jobs:
912
update-submodules:
@@ -27,4 +30,3 @@ jobs:
2730
git push
2831
else
2932
echo "No submodule updates found."
30-
fi

0 commit comments

Comments
 (0)