Skip to content

Commit

Permalink
Update update-submodules.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Colack authored Nov 18, 2024
1 parent 36cd8ef commit 25b5a0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
git submodule foreach 'git fetch && git merge -X theirs || true'
# Commit and push changes if any submodules were updated
# Commit and push changes if there are any updates
- name: Commit and push changes
run: |
if [ -n "$(git status --porcelain)" ]; then
Expand All @@ -36,3 +36,4 @@ jobs:
git push origin HEAD
else
echo "No changes in submodules to commit."
fi

0 comments on commit 25b5a0f

Please sign in to comment.