From c5667bafac6c33a27fd685e21da1967b4628d0e3 Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Fri, 18 Oct 2024 09:19:08 +0200 Subject: [PATCH] .github/workflows/update.yml: Prevent errors --- .github/workflows/update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 636ac91..36de5d3 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -29,5 +29,5 @@ jobs: git config --local user.email "bastien.guerry@code.gouv.fr" git config --local user.name "Bastien Guerry" git add README.md - git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md" + git diff --quiet || (git commit -m "Update README from http://code.gouv.fr/data/awesome-codegouvfr.md") git push -f origin main