Skip to content

ci: Update environment variables for translation workflow#22745

Merged
ti-chi-bot[bot] merged 3 commits intomasterfrom
shhdgit-patch-4
Apr 14, 2026
Merged

ci: Update environment variables for translation workflow#22745
ti-chi-bot[bot] merged 3 commits intomasterfrom
shhdgit-patch-4

Conversation

@shhdgit
Copy link
Copy Markdown
Member

@shhdgit shhdgit commented Apr 13, 2026

First-time contributors' checklist

What is changed, added or deleted? (Required)

This pull request updates the environment variables used in the translation workflow to switch from LangLink to OpenAI for translation services. The most important changes are:

Translation service migration:

  • Replaced the LangLink environment variables (LANGLINK_ACCESS_KEY, LANGLINK_ACCESS_SECRET, LANGLINK_USER) with OpenAI-specific variables (OPENAI_RESPONSES_API_URL, OPENAI_API_KEY, and OPENAI_MODEL=gpt-5.4) in the .github/workflows/translation-zh.yaml file to enable the use of OpenAI's translation capabilities.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Apr 13, 2026
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Apr 14, 2026
Co-authored-by: Grace Cai <qqzczy@126.com>
@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Apr 14, 2026
@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 14, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-04-14 06:12:01.080973086 +0000 UTC m=+1455126.286333143: ☑️ agreed by lilin90.
  • 2026-04-14 07:04:55.312339322 +0000 UTC m=+1458300.517699399: ☑️ agreed by qiancai.

@qiancai qiancai added the translation/no-need No need to translate this PR. label Apr 14, 2026
@ti-chi-bot ti-chi-bot bot removed the missing-translation-status This PR does not have translation status info. label Apr 14, 2026
@qiancai
Copy link
Copy Markdown
Collaborator

qiancai commented Apr 14, 2026

/approve

@ti-chi-bot
Copy link
Copy Markdown

ti-chi-bot bot commented Apr 14, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiancai

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Apr 14, 2026
@ti-chi-bot ti-chi-bot bot merged commit 97d1bb9 into master Apr 14, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants