File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed
Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 fetch-depth : 2
2121
22- - uses : QuantEcon/action-translation@v0.11.0
22+ - uses : QuantEcon/action-translation@v0.11.1
2323 with :
2424 mode : sync
2525 target-repo : QuantEcon/lecture-python-programming.fa
Original file line number Diff line number Diff line change 1+ # Sync Translations — Simplified Chinese
2+ # On merged PR, translate changed lectures into the zh-cn target repo.
3+ name : Sync Translations (Simplified Chinese)
4+
5+ on :
6+ pull_request :
7+ types : [closed]
8+ paths :
9+ - ' lectures/**/*.md'
10+ - ' lectures/_toc.yml'
11+
12+ jobs :
13+ sync :
14+ if : github.event.pull_request.merged == true
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v6
19+ with :
20+ fetch-depth : 2
21+
22+ - uses : QuantEcon/action-translation@v0.11.1
23+ with :
24+ mode : sync
25+ target-repo : QuantEcon/lecture-python-programming.zh-cn
26+ target-language : zh-cn
27+ source-language : en
28+ docs-folder : lectures
29+ anthropic-api-key : ${{ secrets.ANTHROPIC_API_KEY }}
30+ github-token : ${{ secrets.QUANTECON_SERVICES_PAT }}
You can’t perform that action at this time.
0 commit comments