Skip to content

Skip translation cleanup for English-only previews - #354

Merged
Blargian merged 1 commit into
mainfrom
codex/skip-i18n-cleanup
Sep 11, 2026
Merged

Blargian merged 1 commit into
mainfrom
codex/skip-i18n-cleanup

Conversation

@Blargian

Copy link
Copy Markdown
Member

Related: #353

English-only previews use the translations deployment's Production fallback and do not create a translations deployment. The stale-deployment cleanup nevertheless queried the translations project unconditionally, causing the entire preview to fail when its token only had permission to access the English project.

Run translations-project cleanup only when the pull request selected a translations preview. Translation-labelled previews continue to clean up both projects.

Failed run: https://github.com/ClickHouse/mintlify-docs-dev/actions/runs/34595266133/job/103249446036

Changelog category (leave one):

  • CI Fix or Improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Not applicable.

@Blargian
Blargian merged commit 372571d into main Sep 11, 2026
1 of 2 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