An open source design system that's fully customizable and agent ready
TypeScript
ci(i18n): download Crowdin translations nightly (#5186)
nynexman4464eb069fd0966f
diff --git a/.github/workflows/crowdin-download.yml b/.github/workflows/crowdin-download.ymlindex 0b37290553..9e11df1006 100644--- a/.github/workflows/crowdin-download.yml+++ b/.github/workflows/crowdin-download.yml@@ -3,10 +3,9 @@# Crowdin download — pull translated locale files from Crowdin and open a PR# against main.#-# TRIGGER: workflow_dispatch ONLY for now, so a maintainer can smoke-test the-# full flow (download → prettier → PR) before we automate it. A follow-up PR-# will add a cron schedule once we're confident the PR that comes out looks-# right end-to-end.+# TRIGGER: nightly plus manual dispatch. Each run downloads nonempty translated+# locale files and opens (or updates) a reviewable PR; when nothing changed,+# create-pull-request is a no-op.## Why not use Crowdin's built-in PR creation? Its PR flow is limited (title/# body/labels), so we let the Crowdin action land translations on a staging@@ -17,6 +16,9 @@ name: Crowdin Downloadon:workflow_dispatch:+ schedule:+ # 06:00 UTC — overnight in US time zones; opens a PR only when translations changed.+ - cron: '0 6 * * *'permissions: {}