diff --git a/.gitea/workflows/create-weekly-analytics-stats.yaml b/.gitea/workflows/create-weekly-analytics-stats.yaml index c6f87bd..b48df1d 100644 --- a/.gitea/workflows/create-weekly-analytics-stats.yaml +++ b/.gitea/workflows/create-weekly-analytics-stats.yaml @@ -49,14 +49,14 @@ jobs: --limit "10" - name: Commit and push results + id: commit_step run: | git config --global user.name "gitea-actions[bot]" git config --global user.email "actions@users.noreply.local" git checkout -B analytics-update git add analytics/ if git diff --cached --quiet; then - echo "No changes to commit" else - git commit -m "chore: update analytics data [skip ci]" + git commit -m "chore: update analytics data" git push origin analytics-update --force fi