File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Star History
2+
3+ on :
4+ # 每月 1、4、7、10... 日 UTC 00:00 左右执行
5+ # 实际效果约为每 3 天检查一次
6+ # schedule:
7+ # - cron: "0 0 */3 * *"
8+
9+ # 有人给仓库 Star 后触发
10+ watch :
11+ types : [started]
12+
13+ # 可以在 Actions 页面手动执行
14+ workflow_dispatch :
15+
16+ # 允许 Action 把生成的 SVG 提交回仓库
17+ permissions :
18+ contents : write
19+
20+ # 多个 Star 同时到来时,取消旧任务,只保留最新任务
21+ concurrency :
22+ group : star-history
23+ cancel-in-progress : true
24+
25+ jobs :
26+ star-history :
27+ runs-on : ubuntu-latest
28+
29+ steps :
30+ - uses : actions/checkout@v4
31+
32+ # 生成 Star History
33+ - uses : narayann7/star-history-action@a68d8f9d67ca20d55b682a264e69152dcf326e9c
34+ with :
35+ repos : ${{ github.repository }}
Original file line number Diff line number Diff line change @@ -296,19 +296,3 @@ Email: pianyijichang@proton.me
296296</table >
297297
298298## Star History
299-
300- <a href =" https://github.com/jichangtuijian-cheap/cheap-airports " >
301- <picture >
302- <source srcset =" ./star-history/star-history.svg " />
303-
304- </picture >
305- </a >
306-
307-
308- <a href =" https://www.star-history.com/?repos=jichangtuijian-cheap%2Fcheap-airports&type=date&logscale=&legend=top-left " >
309- <picture >
310- <source media =" (prefers-color-scheme: dark) " srcset =" ./star-history/star-history-dark.svg " />
311- <source media =" (prefers-color-scheme: light) " srcset =" /star-history/star-history.svg " />
312- <img alt =" Star History Chart " src =" /star-history/star-history.svg " />
313- </picture >
314- </a >
You can’t perform that action at this time.
0 commit comments