From 615140610fd34a2c2ccbaacdef3185d9a1c34c3f Mon Sep 17 00:00:00 2001 From: boxanm Date: Tue, 7 May 2024 13:08:40 -0400 Subject: [PATCH] Safely exit when there's nothing new to commit --- .github/workflows/update-API-documentation.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-API-documentation.yaml b/.github/workflows/update-API-documentation.yaml index c2de27f6..bfdf0ff1 100644 --- a/.github/workflows/update-API-documentation.yaml +++ b/.github/workflows/update-API-documentation.yaml @@ -69,5 +69,5 @@ jobs: git fetch git add libpointmatcher-doc git pull - git commit -m "Update documentation for new release" + git commit -m "Update documentation for new release" || exit 0 git push origin HEAD:refs/heads/update-libpointmatcher-docs \ No newline at end of file