From 5b1c2f549ba41c534f2aea8e85974ab8f4b57e6e Mon Sep 17 00:00:00 2001 From: starry <115192496+sky22333@users.noreply.github.com> Date: Tue, 14 Jul 2026 02:15:35 +0800 Subject: [PATCH] Create stars.yml --- .github/workflows/stars.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/stars.yml diff --git a/.github/workflows/stars.yml b/.github/workflows/stars.yml new file mode 100644 index 0000000..add8ef1 --- /dev/null +++ b/.github/workflows/stars.yml @@ -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 }}