Skip to content

fix(ci): guard translated MDX repair scope#66

Merged
hxy91819 merged 2 commits into
openclaw:mainfrom
hxy91819:feature/i18n-full-translation-repair-review
Jun 27, 2026
Merged

fix(ci): guard translated MDX repair scope#66
hxy91819 merged 2 commits into
openclaw:mainfrom
hxy91819:feature/i18n-full-translation-repair-review

Conversation

@hxy91819

Copy link
Copy Markdown
Member

Summary

  • add a dedicated MDX repair scope guard that snapshots pre-repair untracked locale files
  • store the repair baseline in RUNNER_TEMP so the repair action cannot rewrite the trusted snapshot
  • reject staged repair changes, non-locale tracked edits, and new untracked locale files while allowing translation-generated untracked locale pages from before repair

Verification

  • python .github/scripts/i18n/tests/test_i18n_scripts.py
  • python .github/scripts/i18n/workflow_shell_check.py --check-bash
  • python .github/scripts/i18n/budget_check.py
  • actionlint -color=false
  • git diff --check
  • autoreview clean: no accepted/actionable findings reported

@hxy91819 hxy91819 requested a review from a team as a code owner June 27, 2026 01:07
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hxy91819 hxy91819 merged commit 27c302a into openclaw:main Jun 27, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant