强化市场校验与索引元数据

合并市场索引、分类、i18n 校验、skill-creator 工具和已修改 skill 版本号更新。
This commit is contained in:
2026-07-07 21:14:31 +08:00
committed by GitHub
parent b273a1008a
commit a4718379d9
34 changed files with 1129 additions and 218 deletions

View File

@@ -336,6 +336,22 @@ jobs:
issue_number: context.issue.number,
labels: ['i18n-translation-failed'],
});
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: [
'🌐 **i18n translation check failed**',
'',
'Please inspect the workflow logs for the exact failing skill/locale.',
'',
'Common causes:',
'- A machine-translated locale could not be regenerated.',
'- A `translated_by: human` locale has source hash drift and must be manually synchronized.',
'',
'After manually reviewing a human-locked translation, update its `source_hash` to match the current source content.',
].join('\n'),
});
- name: Skip notice
if: steps.changes.outputs.relevant != 'true'

View File

@@ -65,7 +65,6 @@ jobs:
- name: Check for stale translations
if: steps.changes.outputs.relevant == 'true'
run: uv run --quiet scripts/i18n/translate.py --check
continue-on-error: true
- name: Skip notice
if: steps.changes.outputs.relevant != 'true'