From 48c633f8da85b485992ed43fda63f28dd993cbc5 Mon Sep 17 00:00:00 2001 From: patrick Date: Tue, 20 Jan 2026 19:14:40 -0500 Subject: [PATCH] fix: missing close to if in GitHub Actions workflow --- .gitea/workflows/update-readme.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/update-readme.yaml b/.gitea/workflows/update-readme.yaml index 6ad758d..d481576 100644 --- a/.gitea/workflows/update-readme.yaml +++ b/.gitea/workflows/update-readme.yaml @@ -33,8 +33,10 @@ jobs: git config user.name "Ares-Bot" git config user.email "ares@beane.me" git add README.md + if git diff --staged --quiet; then - echo "No changes" + echo "No changes detected." else git commit -m "chore: sync code velocity to $FORMATTED_LOC LOC [skip ci]" - git push http://${{ secrets.GITHUB_TOKEN }}@gitea-http:3000/${{ github.repository }}.git ${{ github.ref_name }} + git push http://${{ secrets.GITHUB_TOKEN }}@gitea-http:3000/${{ github.repository }}.git main + fi