Skip to content

Commit b0c5b52

Browse files
committed
fix(approver): use english in sticky PR comments
1 parent b11df8a commit b0c5b52

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/scripts/approver.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -199,11 +199,11 @@ if $deps_failed; then
199199
deps_body=$(cat <<EOF
200200
### ❌ Go dependencies check failed
201201
202-
Hay dependencias Go desactualizadas o módulos que no se pudieron inspeccionar.
203-
Por favor corre \`bash .github/scripts/go-deps.sh --update --discover\`
204-
localmente y commitea los \`go.mod\` / \`go.sum\` actualizados.
202+
There are outdated Go dependencies, or modules that could not be inspected.
203+
Run \`bash .github/scripts/go-deps.sh --update --discover\` locally and
204+
commit the updated \`go.mod\` / \`go.sum\` files.
205205
206-
<details><summary>Salida del script</summary>
206+
<details><summary>Script output</summary>
207207
208208
\`\`\`
209209
$deps_output
@@ -222,11 +222,11 @@ fi
222222
case "$max_tier" in
223223
1)
224224
ai_header="### ✅ AI review — Approved"
225-
ai_intro="Todos los prompts retornaron Tier 1. No se detectaron issues bloqueantes en este diff."
225+
ai_intro="All prompts returned Tier 1. No blocking issues detected in this diff."
226226
;;
227227
2)
228228
ai_header="### ⚠️ AI review — Changes requested"
229-
ai_intro="Uno o más prompts encontraron issues que el autor debería arreglar antes de mergear. Detalles abajo."
229+
ai_intro="One or more prompts found issues the author should fix before merging. Details below."
230230
;;
231231
3)
232232
mention=""
@@ -238,7 +238,7 @@ case "$max_tier" in
238238
done
239239
fi
240240
ai_header="### 🛑 AI review — Engineer review required"
241-
ai_intro="Este PR toca paths críticos o introduce cambios que el modelo no puede juzgar con confianza suficiente. ${mention}por favor revisar."
241+
ai_intro="This PR touches critical paths or introduces changes the model cannot judge with sufficient confidence. ${mention}please review."
242242
;;
243243
*)
244244
ai_header="### ❓ AI review — Unknown verdict"
@@ -297,11 +297,11 @@ if ! $authorized; then
297297
perm_body=$(cat <<EOF
298298
### ⛔ Permission denied
299299
300-
Solo miembros de @${ORG}/${ADMIN_TEAM} o @${ORG}/${CORE_TEAM} pueden mergear PRs en este repositorio.
300+
Only members of @${ORG}/${ADMIN_TEAM} or @${ORG}/${CORE_TEAM} can merge PRs into this repository.
301301
302-
**Autor del PR:** @${PR_AUTHOR}
302+
**PR author:** @${PR_AUTHOR}
303303
304-
Los comentarios anteriores (deps + AI review) siguen siendo válidossi haces los arreglos, los checks se reejecutarán automáticamente, pero la aprobación queda en manos de un administrador.
304+
The comments above (deps + AI review) are still validif you address them, the checks will re-run automatically, but final approval is left to an administrator.
305305
306306
@${ORG}/${ADMIN_TEAM} please review.
307307
EOF

0 commit comments

Comments
 (0)