Update FUNDING.yml with Ko-fi: luciferai + add GitHub Actions #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Stats & Badges | |
| on: | |
| schedule: | |
| - cron: '0 0 * * 0' # Weekly on Sunday | |
| push: | |
| branches: [main] | |
| workflow_dispatch: # Manual trigger | |
| jobs: | |
| update-stats: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Update README badges | |
| run: | | |
| echo "Stats updated: $(date)" > .stats-updated | |
| - name: Commit changes | |
| run: | | |
| git config --local user.email "action@github.com" | |
| git config --local user.name "GitHub Action" | |
| git add -A | |
| git diff --quiet && git diff --staged --quiet || git commit -m "Update stats [skip ci]" | |
| git push || true |