From b7317c97ef605c45be826cc9efa0436dc0cd3838 Mon Sep 17 00:00:00 2001 From: Patrick Xin Date: Tue, 28 Jul 2026 16:18:30 -0700 Subject: docs: add simplified chinese readme (#1990) * docs: add simplified chinese readme * fix: publish simplified chinese readme * fix: require localized readme for releases * docs: publish simplified chinese readme --------- Co-authored-by: Can Celik --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 024998d2..2fe55021 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -163,8 +163,11 @@ jobs: with: persist-credentials: false - - name: Validate product announcement - run: python3 scripts/changelog.py validate-product-announcement + - name: Validate release inputs + run: | + python3 scripts/changelog.py validate-product-announcement + test -f docs/next/README.md + test -f docs/next/README.zh-CN.md release: needs: [build, flake-check, validate-release-inputs] @@ -377,7 +380,7 @@ jobs: VERSION="${GITHUB_REF_NAME#v}" git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - git add README.md docs/versions website/latest.json website/src/content/docs website/src/data/config-reference.json docs/next/product-announcement.json + git add README.md README.zh-CN.md docs/versions website/latest.json website/src/content/docs website/src/data/config-reference.json docs/next/product-announcement.json git diff --cached --quiet || git commit -m "docs: update website manifest for v$VERSION" for attempt in 1 2 3; do git pull --rebase origin master -- cgit v1.2.3