Skip to content

feat: add \translate-resync support to sync workflows#492

Merged
mmcky merged 2 commits intomainfrom
feat/sync-notifications-resync
Mar 23, 2026
Merged

feat: add \translate-resync support to sync workflows#492
mmcky merged 2 commits intomainfrom
feat/sync-notifications-resync

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Mar 23, 2026

Summary

Adds issue_comment trigger to both sync-translation workflows and bumps to action-translation@v0.12.0 to enable the full sync notification feature set from QuantEcon/action-translation v0.12.0.

What this enables

  • \translate-resync command: Comment \translate-resync on a merged PR to re-trigger sync — no need to re-open PRs or create dummy commits
  • Success comments: Successful syncs post a confirmation comment on the source PR with translation PR link
  • Failure issues: Failed syncs auto-open a GitHub Issue with error details and recovery instructions

Changes

  • .github/workflows/sync-translations-fa.yml — added issue_comment: [created] trigger, updated if condition, bumped to @v0.12.0
  • .github/workflows/sync-translations-zh-cn.yml — same

Add issue_comment trigger to both sync-translations workflows so that
commenting \translate-resync on a merged PR re-triggers translation
sync. This enables recovery from transient sync failures without
re-opening PRs.

Companion to QuantEcon/action-translation#39.
@github-actions
Copy link

github-actions bot commented Mar 23, 2026

@github-actions github-actions bot temporarily deployed to pull request March 23, 2026 04:59 Inactive
@mmcky mmcky merged commit f0661c5 into main Mar 23, 2026
4 checks passed
@mmcky mmcky deleted the feat/sync-notifications-resync branch March 23, 2026 05:47
@github-actions github-actions bot temporarily deployed to pull request March 23, 2026 05:53 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant