chore: 更新代码统计 [2025-11-02 13:34]

📊 统计摘要:
- 总代码: 4813 行
- 总文件: 22 个
- 语言数: 2 种
- 徽章数: 6 个

🔗 触发提交: 948bcfa
🤖 由 GitHub Actions 自动生成
This commit is contained in:
github-actions[bot] 2025-11-02 13:34:29 +00:00
parent 9812ec1b3a
commit 35bf12107b
7 changed files with 99 additions and 0 deletions

56
badges/README.md Normal file
View File

@ -0,0 +1,56 @@
# 📊 代码统计详细报告
> 🤖 由 GitHub Actions 自动生成
>
> 📅 更新时间: 2025-11-02 13:34:29 UTC
## 📈 总体统计
| 统计项 | 数值 | 徽章 |
|--------|------|------|
| 💻 总代码行数 | **4813** 行 | ![代码行数](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/csh/actions-template/stats/badges/total-lines.json) |
| 📁 总文件数 | **22** 个 | ![文件数](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/csh/actions-template/stats/badges/total-files.json) |
| 🌐 语言种类 | **2** 种 | - |
## 🌈 语言分布
| 语言 | 代码行数 | 文件数 | 占比 | 徽章 |
|------|----------|--------|------|------|
| **Shell** | 1701 | 9 | 35.3% | ![Shell](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/csh/actions-template/stats/badges/shell-lines.json) |
| **YAML** | 1423 | 5 | 29.5% | ![YAML](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/csh/actions-template/stats/badges/yaml-lines.json) |
---
## ⚙️ 配置说明
### Token 配置
- 当前使用: **GITHUB_TOKEN**
- 推荐配置自定义 `STATS_TOKEN` 以获得更好的权限控制
### 排除规则
当前排除的目录:
```
node_modules,dist,build,out,target,vendor,.venv,venv,__pycache__,.git,.github
```
### 阈值设置
- 最小代码行数阈值: **10**
- 低于此阈值的语言将不会生成徽章
### 徽章样式
- 当前样式: **flat**
- 可选样式: flat, flat-square, plastic, for-the-badge, social
---
<div align="center">
*📊 由 [GitHub Actions](${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/actions) 自动生成和更新*
*🤖 生成时间: $(date -u '+%Y-%m-%d %H:%M:%S UTC')*
</div>

7
badges/shell-files.json Normal file
View File

@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"label": "Shell 文件",
"message": "9 个",
"color": "4EAA25",
"style": "flat"
}

8
badges/shell-lines.json Normal file
View File

@ -0,0 +1,8 @@
{
"schemaVersion": 1,
"label": "Shell",
"message": "1701 行",
"color": "4EAA25",
"style": "flat",
"namedLogo": "gnubash"
}

7
badges/total-files.json Normal file
View File

@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"label": "文件",
"message": "22 个",
"color": "green",
"style": "flat"
}

7
badges/total-lines.json Normal file
View File

@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"label": "代码",
"message": "4813 行",
"color": "blue",
"style": "flat"
}

7
badges/yaml-files.json Normal file
View File

@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"label": "YAML 文件",
"message": "5 个",
"color": "CB171E",
"style": "flat"
}

7
badges/yaml-lines.json Normal file
View File

@ -0,0 +1,7 @@
{
"schemaVersion": 1,
"label": "YAML",
"message": "1423 行",
"color": "CB171E",
"style": "flat"
}