Download hardening: sha256 pin + mirror base URL + Forgejo namespace note #7
No reviewers
Labels
No labels
backlog
blocked
blocked:upstream
ci
converted
docs
enhancement
opportunity
p1
p2
p3
parked
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rasterstate/sccache-action!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/download-hardening"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #5, #6, #3.
Why: sccache-action trusted the run-time-fetched sidecar and hardcoded the GitHub release origin, blocking air-gapped runners and weakening reproducibility.
sha256input: when set, the downloaded tarball is compared against it and fails closed on mismatch (#6). Unset keeps sidecar-verified behavior.download-base-urlinput: fetch tarball + .sha256 sidecar from an internal mirror, checksum still enforced (#5). Unset keeps the GitHub origin.actions/checkout@v6needs the Forgejo actions/ namespace mirror or the full-URL form (#3). Consumers unaffected.Testing: tests/run.sh (incl. digest-mismatch path). Defaults preserve current behavior.
DO NOT MERGE: lead/operator review.