fix(ci): use actions/upload-artifact@v3, not v4, on this Gitea runner
Security Scan (SIAX Cloud) / gitleaks (push) Successful in 9s
CI (SIAX Cloud) / security (push) Successful in 16s
Security Scan (SIAX Cloud) / license-inventory (push) Successful in 27s
Security Scan (SIAX Cloud) / trivy (push) Failing after 36s
CI (SIAX Cloud) / quality (push) Successful in 2m8s
CI (SIAX Cloud) / security (pull_request) Successful in 21s
Security Scan (SIAX Cloud) / gitleaks (pull_request) Successful in 8s
Security Scan (SIAX Cloud) / trivy (pull_request) Failing after 18s
Security Scan (SIAX Cloud) / license-inventory (pull_request) Successful in 23s
CI (SIAX Cloud) / quality (pull_request) Successful in 2m21s

Verified empirically by pushing and inspecting the real run
(git.siax.io/sax3l/0pt/actions/runs/4788): v4 (pinned SHA) failed with
conclusion=failure on both upload steps. continue-on-error already kept
this from breaking the build, but the artifacts silently weren't being
saved. v3.2.2 is the known-compatible version for self-hosted Gitea's
artifact backend; re-verify after push.
This commit is contained in:
2026-08-11 13:50:39 +02:00
parent 8d2ff738c3
commit d6adad7caf
+2 -2
View File
@@ -50,7 +50,7 @@ jobs:
- name: Upload SBOM
if: always()
continue-on-error: true # informational artifact; must never block the blocking scan above
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf # v3.2.2 (Gitea Actions runner rejects v4 artifacts -- verified empirically 2026-08-11)
with:
name: sbom-cyclonedx
path: sbom.cdx.json
@@ -88,7 +88,7 @@ jobs:
run: |
pnpm licenses list --json > licenses.json || true
pnpm licenses list
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
- uses: actions/upload-artifact@c6a366c94c3e0affe28c06c8df20a878f24da3cf # v3.2.2 (Gitea Actions runner rejects v4 artifacts -- verified empirically 2026-08-11)
continue-on-error: true # informational artifact; must never block CI
with:
name: license-inventory