diff --git a/.github/workflows/gen-stats.yml b/.github/workflows/gen-stats.yml index b7c7998..193b698 100644 --- a/.github/workflows/gen-stats.yml +++ b/.github/workflows/gen-stats.yml @@ -34,3 +34,13 @@ jobs: QB_URL_2: ${{ secrets.QB_URL_2 }} run: | python tools/gen-stats.py + + - name: Commit and push changes + run: | + git config --global user.name "github-actions" + git config --global user.email "actions@github.com" + git add README.md + git diff --cached --quiet || git commit -m "Update stats" + git push + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index 7f29330..4714de7 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ This repository aims to provide macOS ISOs for security researchers, developers, -#### Seeding status 🌱 +#### Seeding statistics 🌱