Skip to content

sync: +7 new, ~137 updated (2026-06-09 11:28) #54

sync: +7 new, ~137 updated (2026-06-09 11:28)

sync: +7 new, ~137 updated (2026-06-09 11:28) #54

Workflow file for this run

name: Update Report
on:
push:
paths:
- "data/usage.ndjson"
schedule:
# 每月1日 UTC 00:00 自动刷新(即使没有新数据也更新时间戳)
- cron: "0 0 1 * *"
workflow_dispatch: # 允许手动触发
jobs:
report:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Generate README
run: python report.py
- name: Commit README
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add README.md
# 只在 README 有变化时才提交
git diff --staged --quiet || git commit -m "report: update README [skip ci]"
git push