Skip to content

⬆️ Bump QuantEcon/action-translation from 0.14.1 to 0.15.0#535

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/QuantEcon/action-translation-0.15.0
Open

⬆️ Bump QuantEcon/action-translation from 0.14.1 to 0.15.0#535
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/QuantEcon/action-translation-0.15.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 16, 2026

Bumps QuantEcon/action-translation from 0.14.1 to 0.15.0.

Release notes

Sourced from QuantEcon/action-translation's releases.

v0.15.0 — Rebase Mode

Rebase Mode — Automatic conflict resolution for translation PRs

This release adds rebase mode, which eliminates merge conflicts when multiple upstream PRs modify the same translated file. Previously, 62% of translation-sync PRs conflicted because they replace entire files — merging one makes any sibling PR's "unchanged sections" stale.

How it works

When a translation-sync-* PR is merged in the target repo, rebase mode:

  1. Finds sibling translation-sync PRs with overlapping files
  2. Re-runs the translation pipeline against updated main
  3. Reuses cached translations for unchanged sections (zero Claude API calls in the common case)
  4. Force-pushes the rebased result

Setup

Add examples/rebase-translations.yml to your target repo's .github/workflows/ directory (see template).

What's new

  • Rebase mode (mode: rebase) — triggered by pull_request.closed on translation-sync- branches
  • Translation cache — section-level cache using targetBaseSha in PR metadata; unchanged sections skip Claude entirely
  • Structured PR metadata — machine-readable JSON in PR body for pipeline reconstruction
  • File type metadata — supports markdown, renamed, removed, and toc files during rebase
  • Rebase workflow templateexamples/rebase-translations.yml with concurrency group
  • 29 new tests (976 → 1005 total, 39 suites)

Fixes #63

Changelog

Sourced from QuantEcon/action-translation's changelog.

[0.15.0] - 2025-07-14

Added

  • Rebase mode (mode: rebase): Automatically rebases open translation-sync PRs when a sibling PR is merged. Eliminates the 62% merge conflict rate from issue #63. Runs in the target repo, triggered by pull_request.closed events on translation-sync- branches. Detects file overlap via PR metadata, re-runs the sync pipeline against updated main, and force-pushes the result. Posts success/failure comments on rebased PRs.
  • Translation cache for rebase: Stores targetBaseSha in PR metadata to enable section-level cache during rebase. Before re-translating, compares each section's target content between the original baseline and current main. Unchanged sections reuse cached translations from the PR branch — zero Claude API calls in the common case (PRs modifying different sections). Added sections matched via heading map. Graceful fallback to re-translation if cache parsing fails.
  • Structured PR metadata: Translation-sync PR bodies now include a <!-- translation-sync-metadata --> HTML comment block with machine-readable JSON: sourceRepo, sourcePR, sourceCommitSha, targetBaseSha, sourceLanguage, targetLanguage, claudeModel, and file list. Used by rebase mode to reconstruct pipeline inputs. Invisible on GitHub. Backward compatible — PRs without metadata are skipped during rebase.
  • Rebase workflow template: Ready-to-use examples/rebase-translations.yml for target repos. Includes concurrency group to prevent overlapping rebases.
  • File type metadata: PR metadata now includes file types (markdown, renamed, removed, toc) and previousPath for renamed files. Rebase mode uses this to correctly reconstruct all file types, not just markdown.
  • RebaseInputs type: New action inputs for rebase mode (anthropic-api-key, github-token, optional docs-folder and glossary-path).
  • 29 tests: 8 for metadata/rebase inputs, 2 for targetBaseSha, 7 for translation cache, 2 for cache subsections and heading-map correctness, 1 for CRLF metadata parsing, 3 for file type metadata, 6 additional cache and integration tests (976 → 1005 total, 39 suites)
Commits
  • b2403c6 chore: release v0.15.0
  • 5a80d96 Merge pull request #64 from QuantEcon/fix/issue-63-rebase-on-merge
  • 63b3950 fix: store file types in PR metadata for correct rebase reconstruction
  • 590c3c5 fix: address Copilot review — pagination, state SHAs, CRLF, MyST roles
  • 49fef4b docs: update changelog, copilot-instructions, and build output
  • 39dbe74 Phase 4: Add rebase workflow template for target repos
  • bbcda54 Phase 3: Translation cache for rebase mode
  • 0eed2e3 Phase 2: Add rebase mode for resolving translation PR conflicts
  • edefffb Phase 1: Embed structured metadata in translation sync PR bodies
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [QuantEcon/action-translation](https://github.com/quantecon/action-translation) from 0.14.1 to 0.15.0.
- [Release notes](https://github.com/quantecon/action-translation/releases)
- [Changelog](https://github.com/QuantEcon/action-translation/blob/main/CHANGELOG.md)
- [Commits](QuantEcon/action-translation@v0.14.1...v0.15.0)

---
updated-dependencies:
- dependency-name: QuantEcon/action-translation
  dependency-version: 0.15.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants