Skip to content

Commit 40f53b5

Browse files
committed
feat: add Claude Code Translation workflow for issue translation
1 parent ac0c5a8 commit 40f53b5

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ClaudeCodeTranslation.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
name: Issue Translation
1616
on:
1717
issues:
18-
types: [opened, edited]
18+
types: [ opened, labeled, edited ]
19+
issue_comment:
20+
types: [ created ]
1921
env:
2022
ANTHROPIC_BASE_URL: "https://open.bigmodel.cn/api/anthropic"
2123
jobs:
@@ -26,6 +28,10 @@ jobs:
2628
issues: write
2729
id-token: write
2830
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
with:
34+
fetch-depth: 0
2935
- name: Create translation prompt
3036
run: |
3137
mkdir -p /tmp/claude-prompts

0 commit comments

Comments
 (0)