Skip to content

Commit 4dcad44

Browse files
committed
Fix images, update workflow
1 parent 514bdbc commit 4dcad44

7 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/translation-polisher.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,11 @@ Do not edit:
107107

108108
## Required process
109109

110-
1. Identify the target pull request number and head branch.
110+
> **Shell tooling constraint:** Only the `gh`, `git`, and `node` commands are available in this environment. Do **not** call `python`, `python3`, `sed`, `awk`, or `grep` pipelines — they are not permitted and will fail with a permission error. Filter and process command output yourself instead of piping through unsupported tools.
111+
112+
1. Identify the target pull request number and head branch, then list the files the pull request changed. Use only the available shell tools:
113+
- List changed files with `git diff --name-only origin/main...HEAD` (the branch is checked out with full history) or `gh pr diff <number> --name-only`.
114+
- From that output, select only files matching `translations/**/*.md`, and ignore `translations/*/.github/**` and `translations/*/samples/**`. Do this selection yourself from the file list rather than piping through `grep`/`sed`.
111115
2. Compare each changed translated Markdown file with its corresponding English source file.
112116
- Example: compare `translations/es/README.md` with `README.md`.
113117
- Example: compare `translations/es/03-development-workflows/README.md` with `03-development-workflows/README.md`.
-1.76 KB
Loading

docs/assets/img/ch02-images.png

-2.4 KB
Loading

docs/assets/img/ch02-memory.png

-711 Bytes
Loading

docs/assets/img/ch03-refactor.png

-1.63 KB
Loading
-2.52 KB
Loading

docs/assets/img/ch05-vs.png

-1018 Bytes
Loading

0 commit comments

Comments
 (0)