False deprecation error for upload-artifact@v1 in deploy-pages@v4 workflow

Open
#403 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
github-actions
Domain
ci-cd, devops

Research direction

Begin with the supplied workflow and verify the reported failure while checking the action references named in the issue: actions/upload-pages-artifact@v4 and actions/deploy-pages@v4. Done means identifying the source of the upload-artifact@v1 reference and confirming the workflow succeeds without that deprecated dependency.

Written by the indexing model from the issue text.

Description

My GitHub Actions workflow is failing with the following error:

"This request has been automatically failed because it uses a deprecated version of 'actions/upload-artifact@v1'"

However, my workflow does not use upload-artifact@v1 at all. I am using only the latest @v4 versions of all relevant actions:

- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/upload-pages-artifact@v4
- uses: actions/deploy-pages@v4
I’ve confirmed that:

No other workflows or files reference upload-artifact@v1
All actions are up to date
GitHub Pages settings are correct
This appears to be a false positive or an internal dependency issue. Please investigate whether deploy-pages@v4 or another internal action is still referencing upload-artifact@v1.

Thank you!
Dominant language
JavaScript
Stars
967
Forks
147
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/deploy-pages

All issues in actions/deploy-pages

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.