Skip to content

Update star history #531

Update star history

Update star history #531

name: Update star history
on:
schedule:
# Runs at the top of every hour
- cron: "0 * * * *"
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch latest star graph
run: |
set -e
mkdir -p figs
curl -L "https://api.star-history.com/svg?repos=wadeKeith/DeepThinkVLA&type=date&legend=top-left" -o figs/star-history.svg
if git diff --quiet -- figs/star-history.svg; then
echo "No changes in star-history.svg; skipping commit."
exit 0
fi
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add figs/star-history.svg
git commit -m "chore: update star history"
git push