From 48439d94901829e3d3311b6f5061964f3f839ae9 Mon Sep 17 00:00:00 2001 From: Gautam krishna R Date: Wed, 18 Nov 2020 18:23:33 +0530 Subject: [PATCH] preventing error while committing with no changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c56a6f..76ad8a4 100644 --- a/README.md +++ b/README.md @@ -228,7 +228,7 @@ jobs: git config user.name github-actions git config user.email github-actions@github.com git add . - git commit -m "generated" + git diff-index --quiet HEAD || git commit -m "generated" git push ```