Skip to content

Update GitHub Stats #25

Update GitHub Stats

Update GitHub Stats #25

Workflow file for this run

name: Update GitHub Stats
on:
schedule:
- cron: '0 3 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update star and fork counts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./update-stats.sh
- name: Commit and push if changed
run: |
git diff --quiet apps.json && exit 0
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add apps.json
git commit -m "chore: update GitHub stats"
git push