refactor: simplify security scan reporting workflow

This commit is contained in:
shuaiplus
2026-03-12 02:01:22 +08:00
parent 810edfe8a6
commit 37cbb2f2c7
2 changed files with 21 additions and 36 deletions
+4 -4
View File
@@ -23,8 +23,8 @@ class SecurityReport {
this.locales = {
zh: {
filename: 'README_CN.md',
switcher: '[English](README.md) | 中文',
filename: 'security-report-cn.md',
switcher: '[English](security-report.md) | 中文',
title: '🛡️ 安全审计与透明度报告',
grade: '安全评级',
important: '> [!IMPORTANT]\n> 本报告由 **GitHub Actions** 自动生成。为确保数据主权的绝对透明度,所有核心模块的安全扫描结果均实时公开。',
@@ -75,8 +75,8 @@ class SecurityReport {
trivySafe: '✅ **安全**:未发现容器配置缺陷。'
},
en: {
filename: 'README.md',
switcher: 'English | [中文](README_CN.md)',
filename: 'security-report.md',
switcher: 'English | [中文](security-report-cn.md)',
title: '🛡️ Security Audit & Transparency Report',
grade: 'Security Grade',
important: '> [!IMPORTANT]\n> This report is automatically generated by **GitHub Actions**. To ensure absolute transparency of data sovereignty, all core module security scan results are made public in real-time.',