mirror of
https://github.com/storytold/craft-common-actions.git
synced 2026-11-13 22:12:24 +00:00
An app's craft-i18n.rev switches craft-i18n on. checkout-craft-i18n reads it (trimmed: Windows checks it out with CRLF), checks out that SHA and sets CRAFT_I18N_DIR and CRAFT_I18N_REQUIRED=1 for every build job in release.yml, freebsd.yml and windows-arm64.yml; the FreeBSD guests export them too. The i18n-gate workflow runs cargo test --workspace i18n_gate with CRAFT_I18N_GATE=1 and fails if no test ran. Release packaging needs it, skip-i18n-gate skips it on workflow_dispatch only, and freebsd.yml runs it on pull requests that touch craft-i18n.rev. Without the pin file every step is a no-op and the gate succeeds. Claude-Session: https://claude.ai/code/session_01B5qjdPbdcyPMikAqXxAAdW Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>