Skip to content

Commit

Permalink
Also run on push
Browse files Browse the repository at this point in the history
  • Loading branch information
tomayac authored Feb 13, 2025
1 parent 8649e06 commit 7142c38
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Update Submodules

on:
push:
branches:
- main # Change this if your default branch is different
schedule:
- cron: '0 0 * * *' # Runs daily at midnight UTC
workflow_dispatch: # Allows manual triggering
workflow_dispatch: # Allows manual triggering from GitHub Actions UI

jobs:
update-submodules:
Expand All @@ -27,4 +30,3 @@ jobs:
git push
else
echo "No submodule updates found."
fi

0 comments on commit 7142c38

Please sign in to comment.