diff --git a/.github/workflows/daily-discovery.yml b/.github/workflows/daily-discovery.yml index 96df31ca..1f35313e 100644 --- a/.github/workflows/daily-discovery.yml +++ b/.github/workflows/daily-discovery.yml @@ -89,6 +89,24 @@ jobs: git push fi + - name: Track recommendation performance + if: success() + run: | + python scripts/track_recommendation_performance.py + + - name: Commit performance updates + if: success() + run: | + git config user.name "github-actions[bot]" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add data/recommendations/ || true + if git diff --cached --quiet; then + echo "No performance updates" + else + git commit -m "chore: update performance tracking ${{ steps.date.outputs.analysis_date }}" + git push + fi + - name: Update positions if: success() env: