aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorPatrick Xin <patrick.xin.dev@gmail.com>2026-07-28 16:18:30 -0700
committerGitHub <noreply@github.com>2026-07-29 02:18:30 +0300
commitb7317c97ef605c45be826cc9efa0436dc0cd3838 (patch)
tree9e8b5c526e3266db15581890b8ef128d6e7caad5 /.github/workflows
parentbbe78f518b83f91e328accd9eb178d1610ab5080 (diff)
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 <ogulcancelik@gmail.com>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/release.yml9
1 files changed, 6 insertions, 3 deletions
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