Each third-party action that StepSecurity publishes a secure drop-in
replacement for now uses that replacement, pinned to a commit with its
version as a comment. Versions follow what we used: the newest
StepSecurity release in the same major, or the closest major they
publish. dtolnay/rust-toolchain refs that named a toolchain (stable,
nightly, 1.76) become the replacement's `toolchain` input.
Adds step-security/harden-runner (audit, pinned to v2.22.4 like
craft-common-actions) as the first step of each job that did not have it,
so every workflow in the org's public repos reports its egress to
StepSecurity. Audit, not block: block-mode allow lists come from each
job's observed traffic.
The import and the weblate/sync pull request will run under AutoCraft's
GitHub App on our own hardware, so this repository needs no write token.
Export still runs here with GITHUB_TOKEN, from main only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Answers FredApps' review on #199:
- The base is main as of the last export, re-rendered from the commit in the
export message (tools/weblate_base.sh). The export's own output also holds
pending Weblate changes, so using it lost them after an unrelated export.
- Import runs hourly from main (and on dispatch): the weblate branch has no
workflow file, so a push there could never start it.
- Each rebuild of weblate/sync replays commits people added to the open PR
(ATTRIBUTION.md, fixes) and pushes only when the tree changed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review on #191: CI checks the format, not that the text was accepted,
and main doesn't require reviews yet. Revisit with AutoCraft's merge
queue.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tools/weblate_bridge.py turns locales/ into PO files on the `weblate`
branch and Weblate's accepted translations back into TSV edits. Both
directions diff against the last export commit, so neither a pending
Weblate translation nor a newer main change is lost. Import edits lines
in place and leaves @id rows, shared strings in app components, fuzzy
and incomplete entries alone. .github/workflows/weblate.yml runs export
on pushes to main and import plus the auto-merging `weblate/sync` PR on
Weblate's pushes. Tasks 2, 3 and 5 of the plan (ADR 0006); attribution
from Weblate's API waits for the deploy spike.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sync/rekey helpers already write UTF-8 catalogs; the tests used the
platform default encoding, so headers with "…" / Français failed under
cp1252. Report paths with forward slashes and run the tool suite in CI.
- Release name checked with bash [[ =~ ]] (whole string), so a newline in the dispatch input
can't pass a line-by-line grep.
- concurrency group per release name (scheduled verifies share one), cancel-in-progress false.
- A manual release must run on refs/heads/main and refuses an existing language-packs-<n> tag
(gh release create ignores --target for an existing tag).
- docs: runs never overlap; a failed upload leaves a draft to delete before a rerun.
actionlint (with shellcheck 0.11.0) clean.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- An existing release name is refused; a new one is created as a draft, every asset uploaded,
then published (no --clobber).
- build (contents: read, persist-credentials: false) verifies, tests and builds, uploading dist/
as an artifact; publish (contents: write) only downloads and uploads it.
- Release names come through env, never interpolated into run:, and must match
language-packs-<n>.
- actions/checkout, cache, upload-artifact and download-artifact pinned by commit SHA.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2
- CP3.1: docs/language-data-format.md (the pack contract); language-data/manifest.toml seeded from
the 2026-10-31 licence audit: 80 locales, 357 pinned files (LibreOffice/dictionaries 4f1df64b,
tex-hyphen 5684c0f5, wooorm 8cfea406, sk/cy/mn/ug upstreams), sha256 and size from the
downloaded files, SPDX licence and Licence class per file. bg, uk, ta, hr, pt-PT Download-only
(weak evidence); eu, ug Excluded.
- CP3.2: craft-i18n-tests `packs` module. Offline on every run: licence allow-list and class
per SPDX expression, pinned URLs, sha/size shape, no duplicate (locale, kind), aff+dic pairs,
licence text present, check words per locale, Excluded never published. With
CRAFT_I18N_FETCH=1: every file matches its pin, and every published pack loads through
craft-proof's affix engine (dev-dependency, benandez/craft-libs 961162a) and gets its
language-data/checks/<locale>.toml words right. 37 locales hidden with the engine gap as reason.
- CP3.3: `language-packs` bin (check, fetch, build: deterministic <locale>.tar.zst + index.json,
--base-url for a local test server) and .github/workflows/language-packs.yml (weekly verify;
tag language-packs-* or manual run publishes release assets).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCX8LsYYE8fsj4byBm2