Skip to content

Commit c3b43df

Browse files
committed
prevent error on no change
1 parent c29c9f5 commit c3b43df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/periodic-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ jobs:
1717
git config --global user.name "github-actions"
1818
git config --global user.email ""
1919
git add .
20-
git commit -m "periodic update"
20+
git diff-index --quiet HEAD || git commit -m "periodic update"
2121
git push

0 commit comments

Comments
 (0)