From 825bf0e2d8818047bb6bee4d8a68288f89c81769 Mon Sep 17 00:00:00 2001 From: Zhengchao An Date: Sat, 18 Jul 2026 14:33:45 +0800 Subject: [PATCH] ci: self-host star history chart (#5001) * ci: self-host star history chart * ci: use animated gradient star chart --- .github/workflows/star-history.yml | 25 +++++++++++++++++++++++++ README.md | 5 ++++- README_ZH.md | 5 ++++- 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/star-history.yml diff --git a/.github/workflows/star-history.yml b/.github/workflows/star-history.yml new file mode 100644 index 000000000..02fb43d87 --- /dev/null +++ b/.github/workflows/star-history.yml @@ -0,0 +1,25 @@ +name: Star History + +on: + schedule: + - cron: "17 3 * * *" + workflow_dispatch: + +permissions: + contents: write + +concurrency: + group: star-history + cancel-in-progress: false + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: overtrue/star-history-action@71eb65f6d4798cf9de2549af1205e911555d0511 # v1.1.0 + with: + github-token: ${{ github.token }} + output-branch: star-history + output-path: . + chart-style: gradient + animate: "true" diff --git a/README.md b/README.md index 124080994..ccf2cef7d 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,10 @@ RustFS is a community-driven project, and we appreciate all contributions. Check ## Star History -[![Star History Chart](https://api.star-history.com/svg?repos=rustfs/rustfs&type=date&legend=top-left)](https://www.star-history.com/#rustfs/rustfs&type=date&legend=top-left) + + + RustFS star history chart + ## License diff --git a/README_ZH.md b/README_ZH.md index 90cc3c9f1..c1de225e9 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -252,7 +252,10 @@ RustFS 是一个社区驱动的项目,我们感谢所有的贡献。请查看 ## Star 历史 -[![Star History Chart](https://api.star-history.com/svg?repos=rustfs/rustfs&type=date&legend=top-left)](https://www.star-history.com/#rustfs/rustfs&type=date&legend=top-left) + + + RustFS Star 历史图表 + ## 许可证