From 2810dd68fa351e136972e9bd9f11c2fd70e2db02 Mon Sep 17 00:00:00 2001 From: Aaruni Kaushik Date: Thu, 5 Dec 2024 10:21:09 +0100 Subject: [PATCH] Don't fail when there were no commits (the PR action will fail silently in such cases anyway) (#398) --- .github/workflows/update-contrib.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-contrib.yml b/.github/workflows/update-contrib.yml index feaa61d..42b6062 100644 --- a/.github/workflows/update-contrib.yml +++ b/.github/workflows/update-contrib.yml @@ -41,7 +41,7 @@ jobs: - name: Commit Changes run: | git add _data/people_list.yml - git commit -m "Update contributors on $(date +'%Y-%m-%d')" || ${echo "No changes to commit" && false} + git commit -m "Update contributors on $(date +'%Y-%m-%d')" # Create a pull request - name: Create Pull Request