Skip to content

Commit 84c5961

Browse files
committed
chore: bump action-translation v0.10.0 → v0.11.0
1 parent 6fc6d64 commit 84c5961

File tree

4 files changed

+53
-1
lines changed

4 files changed

+53
-1
lines changed

.github/workflows/sync-translations-fa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
fetch-depth: 2
2121

22-
- uses: QuantEcon/action-translation@v0.10.0
22+
- uses: QuantEcon/action-translation@v0.11.0
2323
with:
2424
mode: sync
2525
target-repo: QuantEcon/lecture-python-programming.fa

.tmp/commit-msg.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Add Farsi translation sync workflow
2+
3+
Adds sync-translations-fa.yml that triggers when PRs merge
4+
with changes to lectures/**/*.md or _toc.yml, automatically
5+
creating translation PRs in lecture-python-programming.fa.
6+
7+
Uses action-translation v0.10.0 with QUANTECON_SERVICES_PAT
8+
for cross-repo write access.

.tmp/pr-body.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
## Summary
2+
3+
Adds the sync workflow for automated Farsi translation via [action-translation](https://github.com/QuantEcon/action-translation) v0.10.0.
4+
5+
## What it does
6+
7+
When a PR merges that touches `lectures/**/*.md` or `lectures/_toc.yml`:
8+
1. The workflow detects which sections changed
9+
2. Only the changed sections are translated (not the entire file)
10+
3. A translation PR is automatically created in [lecture-python-programming.fa](https://github.com/QuantEcon/lecture-python-programming.fa)
11+
12+
## Requirements
13+
14+
- `ANTHROPIC_API_KEY` secret — for Claude translation API calls
15+
- `QUANTECON_SERVICES_PAT` secret — for cross-repo write access to the `.fa` repo
16+
17+
## Related
18+
19+
- Target repo setup PR: https://github.com/QuantEcon/lecture-python-programming.fa/pull/66

.tmp/pr486-view.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
author: github-actions
2+
association: none
3+
edited: false
4+
status: none
5+
--
6+
<!-- NETLIFY DEPLOY COMMENT GENERATED BY ACTIONS_NETLIFY - APP ID SHA256: 923b6dfad8470e8fcd31dee6ef196434eec1aab894290a72456a376a056de023 -->
7+
🚀 Deployed on https://69bcaf4827eb2d4ebb3e1d5a--epic-agnesi-957267.netlify.app
8+
--
9+
author: copilot-pull-request-reviewer
10+
association: contributor
11+
edited: false
12+
status: commented
13+
--
14+
## Pull request overview
15+
16+
Adds a GitHub Actions workflow to automatically sync/translate changed lecture content into the Farsi (`fa`) translation repository using `QuantEcon/action-translation` in `sync` mode.
17+
18+
**Changes:**
19+
- Introduces `.github/workflows/sync-translations-fa.yml` to run on merged PRs affecting lecture sources.
20+
- Configures `QuantEcon/action-translation@v0.10.0` to target `QuantEcon/lecture-python-programming.fa` with `fa` as the target language.
21+
22+
23+
24+
25+
--

0 commit comments

Comments
 (0)