Skip to content

Commit 39bda58

Browse files
authored
clean the workflows (#2359)
1 parent dd74416 commit 39bda58

File tree

5 files changed

+10
-104
lines changed

5 files changed

+10
-104
lines changed

.github/workflows/docs-commit.translate.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
git push -u origin $BRANCH_NAME
4141
4242
- name: Run GPT Translate
43-
uses: BohuTANG/gpt-translate-refine@v1.3.0
43+
uses: BohuTANG/gpt-translate-refine@v1.4.4
4444
with:
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
api_key: ${{ secrets.API_KEY }}
@@ -50,8 +50,8 @@ jobs:
5050
target_lang: "Simplified-Chinese"
5151
system_prompt: ".github/workflows/prompt.txt"
5252
refine_system_prompt: ".github/workflows/refine_prompt.txt"
53-
TEMPERATURE: ${{ secrets.TEMPERATURE }}
54-
REFINE_TEMPERATURE: ${{ secrets.REFINE_TEMPERATURE }}
53+
temperature: ${{ secrets.TEMPERATURE }}
54+
refine_temperature: ${{ secrets.REFINE_TEMPERATURE }}
5555
input_files: "${{ steps.changed_files.outputs.files }}"
5656
output_files: "docs/cn/**/*.{md,json}"
57-
commit_message: "Add LLM Translations V2"
57+
pr_title: "Add LLM Translations V2"

.github/workflows/docs-sync.translate.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
git push -u origin $BRANCH_NAME
5858
5959
- name: Run GPT Translate
60-
uses: BohuTANG/gpt-translate-refine@v1.3.0
60+
uses: BohuTANG/gpt-translate-refine@v1.4.4
6161
with:
6262
github_token: ${{ secrets.GITHUB_TOKEN }}
6363
api_key: ${{ secrets.API_KEY }}
@@ -67,8 +67,8 @@ jobs:
6767
target_lang: "Simplified-Chinese"
6868
system_prompt: ".github/workflows/prompt.txt"
6969
refine_system_prompt: ".github/workflows/refine_prompt.txt"
70-
TEMPERATURE: ${{ secrets.TEMPERATURE }}
71-
REFINE_TEMPERATURE: ${{ secrets.REFINE_TEMPERATURE }}
70+
temperature: ${{ secrets.TEMPERATURE }}
71+
refine_temperature: ${{ secrets.REFINE_TEMPERATURE }}
7272
input_files: "${{ steps.check_missing.outputs.missing_md_files }}${{ steps.check_missing.outputs.missing_json_files }}"
7373
output_files: "docs/cn/**/*.{md,json}"
74-
commit_message: "Add LLM Translations V2"
74+
pr_title: "Add LLM Translations V2"

.github/workflows/docs.translate.dir.yaml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/docs.translate.yaml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/v2.docs.translate.dir.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ jobs:
5151
target_lang: "Simplified-Chinese"
5252
system_prompt: ".github/workflows/prompt.txt"
5353
refine_system_prompt: ".github/workflows/refine_prompt.txt"
54-
TEMPERATURE: ${{ secrets.TEMPERATURE }}
55-
REFINE_TEMPERATURE: ${{ secrets.REFINE_TEMPERATURE }}
54+
temperature: ${{ secrets.TEMPERATURE }}
55+
refine_temperature: ${{ secrets.REFINE_TEMPERATURE }}
5656
input_files: "${{ github.event.inputs.path }}"
5757
output_files: "docs/cn/**/*.{md,json}"
5858
pr_title: "Add LLM Translations V2"

0 commit comments

Comments
 (0)