diff --git a/.gitea/workflows/update-dependencies.yaml b/.gitea/workflows/update-dependencies.yaml index f5e448e..70f6d5f 100644 --- a/.gitea/workflows/update-dependencies.yaml +++ b/.gitea/workflows/update-dependencies.yaml @@ -29,5 +29,9 @@ jobs: git config user.name "gitea-actions[bot]" git config user.email "gitea-actions[bot]@git.z0x.ca" git add . - git commit -m "chore(deps): bump dependencies" - git push + if git diff --staged --quiet; then + echo "No changes to commit" + else + git commit -m "chore(deps): bump dependencies" + git push + fi