Create stars.yml

This commit is contained in:
starry
2026-07-14 02:15:35 +08:00
committed by GitHub
parent 5b86de8860
commit 5b1c2f549b

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

@@ -0,0 +1,23 @@
name: Star History Chart
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 }}