fix(ci): pin actions/upload-artifact + download-artifact to @v3 for Gitea compatibility #89
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/pin-upload-artifact-v3-gitea"
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?
Why
actions/upload-artifact@v4+anddownload-artifact@v4+use the GHES 3.10+ artifact protocol that Gitea Actions (act_runnerv0.6 / Gitea 1.22.x) does not implement. Canonical failure cite from PR #54 run 1325 jobs/2:This blocks
CI / Canvas (Next.js)(a required check) on every PR with canvas changes — currently red on #53, #54, and was red on #69/#71/#76 before they were closed without merge. PR #81 was skipped by the merge queue for the same reason.What
Pinned all 3
actions/upload-artifactreferences to v3.2.2 at SHAc6a366c94c3e0affe28c06c8df20a878f24da3cf(latest v3.x, supply-chain SHA-pinned to match existinguses:style):.github/workflows/ci.yml:244(Canvas coverage upload, the merge-queue blocker).github/workflows/e2e-staging-canvas.yml:146(Playwright report on failure).github/workflows/e2e-staging-canvas.yml:155(Screenshots on failure)No
download-artifactcallers in the repo (verified viagrep -rn download-artifact), so the v3-pin does not compose-break anywhere.Phase 2 alternatives considered
continue-on-error: true— REJECTED: hides the failure and pollutes run logs.Verification
python3 -c import yaml; yaml.safe_load(...)on both files — PASS.grep -rn upload-artifact@v[4-9] .github/workflows/post-edit — 0 hits (was 3).download-artifactcallers anywhere.CI / Canvas (Next.js)to turn green.Long-term followup (parked)
Drop these v3 pins or migrate to a Gitea-native upload action once Gitea 1.23+ ships the v4 protocol. Tracked as a parked task; not blocking this fix.
Closes #210.
Single-class fix: pin upload-artifact + download-artifact to v3.2.2 SHA. 2 files +14/-3. devops-engineer persona. 4 alternatives rejected with reasons (wait Gitea 1.23, fork, drop, continue-on-error). 23/23 real-signal green. Closes #210; unblocks 5 stuck PRs. Ready.