feat: implement Gist-based history tracking and enhanced stats categorization

This commit is contained in:
fujie
2026-02-11 11:57:07 +08:00
parent a63d3e89ff
commit 080534d03b
2 changed files with 77 additions and 14 deletions

View File

@@ -8,9 +8,13 @@
name: Community Stats
on:
# 每小时整点运行
# 定时任务
schedule:
- cron: '0 * * * *'
# 推送时触发(用于测试任务分支)
push:
branches:
- feat/stats-history-and-refactor
# 手动触发
workflow_dispatch:
@@ -56,6 +60,8 @@ jobs:
env:
OPENWEBUI_API_KEY: ${{ secrets.OPENWEBUI_API_KEY }}
OPENWEBUI_USER_ID: ${{ secrets.OPENWEBUI_USER_ID }}
GIST_TOKEN: ${{ secrets.GIST_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
run: |
python scripts/openwebui_stats.py