Create stars.yml

This commit is contained in:
starry
2026-07-14 03:26:50 +08:00
committed by GitHub
parent 4da7f90adc
commit f101c7f29b

23
.github/workflows/stars.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: 星标历史
on:
schedule:
- cron: "0 0 * * 0" # 每周日 UTC 0:00
workflow_dispatch:
permissions:
contents: write
jobs:
chart:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Generate star history
uses: wanan9999/stars@v1
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
language: zh
token: ${{ secrets.GH_PAT }}