mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🔧 chore(workflows): [无需更新] GitHub 添加自动回复和标签功能 - patch3
This commit is contained in:
parent
6a0ce91061
commit
17493bdb1b
18
.github/workflows/status-update.yml
vendored
18
.github/workflows/status-update.yml
vendored
@ -135,16 +135,16 @@ jobs:
|
|||||||
|
|
||||||
const report = `📊 **本周活动报告** (${oneWeekAgo.toISOString().split('T')[0]} ~ ${new Date().toISOString().split('T')[0]})
|
const report = `📊 **本周活动报告** (${oneWeekAgo.toISOString().split('T')[0]} ~ ${new Date().toISOString().split('T')[0]})
|
||||||
|
|
||||||
## 📈 统计数据
|
## 📈 统计数据
|
||||||
- 🎯 新增 Issues: ${newIssues.total_count}
|
- 🎯 新增 Issues: ${newIssues.total_count}
|
||||||
- 🔀 新增 PRs: ${newPRs.total_count}
|
- 🔀 新增 PRs: ${newPRs.total_count}
|
||||||
- ✅ 关闭 Issues: ${closedIssues.total_count}
|
- ✅ 关闭 Issues: ${closedIssues.total_count}
|
||||||
|
|
||||||
## 🏷️ Issue 分类
|
## 🏷️ Issue 分类
|
||||||
${newIssues.items.length > 0 ? newIssues.items.slice(0, 5).map(issue =>
|
${newIssues.items.length > 0 ? newIssues.items.slice(0, 5).map(issue =>
|
||||||
`- [${issue.title}](${issue.html_url}) - ${issue.labels.map(l => l.name).join(', ') || '未分类'}`
|
\`- [\${issue.title}](\${issue.html_url}) - \${issue.labels.map(l => l.name).join(', ') || '未分类'}\`
|
||||||
).join('\n') : '本周暂无新issue'}
|
).join('\\n') : '本周暂无新issue'}
|
||||||
|
|
||||||
感谢所有贡献者的参与! 🙏`;
|
感谢所有贡献者的参与! 🙏`;
|
||||||
|
|
||||||
console.log(report);
|
console.log(report);
|
Loading…
x
Reference in New Issue
Block a user