GitHub Actions · infra · fg-0228

Job fails at setup with 'automatically failed because it uses a deprecated version of actions/upload-artifact: v3'

If you see Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`, the cause and the fix for GitHub Actions are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`.No workflow file references v3, yet the job failsGitHub Pages deploys fail through an old upload-pages-artifact version
Cause
v1, v2, and v3 of the artifact actions are retired on github.com, and composite actions such as older upload-pages-artifact releases still call v3 internally.
Fix
Move every artifact action, and actions that wrap them, to current majors.
Apply
- uses: actions/upload-artifact@v4 - uses: actions/download-artifact@v4 - uses: actions/upload-pages-artifact@v5 - uses: actions/deploy-pages@v4
Affected
actions/upload-artifact and download-artifact v1 to v3 on github.com (v3 deprecation from 2024-11-30); GHES still uses v3
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun