Skip to content

Commit c5667ba

Browse files
committed
.github/workflows/update.yml: Prevent errors
1 parent 14dcda0 commit c5667ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ jobs:
2929
git config --local user.email "[email protected]"
3030
git config --local user.name "Bastien Guerry"
3131
git add README.md
32-
git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md"
32+
git diff --quiet || (git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md")
3333
git push -f origin main

0 commit comments

Comments
 (0)