name: Update Profile Stats on: schedule: - cron: '0 * * * *' workflow_dispatch: jobs: build: runs-on: ubuntu-latest # This now points to the 'catthehacker' image steps: - name: Checkout Code uses: actions/checkout@v4 - name: Install Requirements run: pip3 install -r requirements.txt --break-system-packages - name: Run Update Script env: GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} run: python3 update_profile.py - name: Commit and Push run: | git config --local user.email "action@gitea.com" git config --local user.name "Gitea Action" git add README.md git diff --quiet && git diff --staged --quiet || (git commit -m "Update profile stats" && git push)