Skip to content

build(deps): bump actions/download-artifact from 4 to 8#547

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/download-artifact-8
Closed

build(deps): bump actions/download-artifact from 4 to 8#547
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/download-artifact-8

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Bumps actions/download-artifact from 4 to 8.

Release notes

Sourced from actions/download-artifact's releases.

v8.0.0

v8 - What's new

[!IMPORTANT] actions/download-artifact@v8 has been migrated to an ESM module. This should be transparent to the caller but forks might need to make significant changes.

[!IMPORTANT] Hash mismatches will now error by default. Users can override this behavior with a setting change (see below).

Direct downloads

To support direct uploads in actions/upload-artifact, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the Content-Type header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new skip-decompress parameter to true.

Enforced checks (breaking)

A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the digest-mismatch parameter. To be secure by default, we are now defaulting the behavior to error which will fail the workflow run.

ESM

To support new versions of the @actions/* packages, we've upgraded the package to ESM.

What's Changed

Full Changelog: actions/download-artifact@v7...v8.0.0

v7.0.0

v7 - What's new

[!IMPORTANT] actions/download-artifact@v7 now runs on Node.js 24 (runs.using: node24) and requires a minimum Actions Runner version of 2.327.1. If you are using self-hosted runners, ensure they are updated before upgrading.

Node.js 24

This release updates the runtime to Node.js 24. v6 had preliminary support for Node 24, however this action was by default still running on Node.js 20. Now this action by default will run on Node.js 24.

What's Changed

New Contributors

Full Changelog: actions/download-artifact@v6.0.0...v7.0.0

v6.0.0

... (truncated)

Commits
  • 3e5f45b Add regression tests for CJK characters (#471)
  • e6d03f6 Add a regression test for artifact name + content-type mismatches (#472)
  • 70fc10c Merge pull request #461 from actions/danwkennedy/digest-mismatch-behavior
  • f258da9 Add change docs
  • ccc058e Fix linting issues
  • bd7976b Add a setting to specify what to do on hash mismatch and default it to error
  • ac21fcf Merge pull request #460 from actions/danwkennedy/download-no-unzip
  • 15999bf Add note about package bumps
  • 974686e Bump the version to v8 and add release notes
  • fbe48b1 Update test names to make it clearer what they do
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](actions/download-artifact@v4...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code major labels Apr 14, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 14, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 29466dd5-314e-4646-af83-5dfc86e02b10

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/download-artifact-8

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ambient-code
Copy link
Copy Markdown
Contributor

ambient-code Bot commented Apr 15, 2026

Dependabot PR Review Summary

Changes reviewed: Bumps actions/download-artifact from v4 to v8 in .github/workflows/e2e.yaml.

Checks performed:

  • CI Status: All checks passing (e2e tests, builds all green)
  • go.mod impact: Not applicable (GitHub Actions change)
  • K8s version impact: Not applicable
  • Cross-project impact: None — only affects the e2e CI workflow

Note: This is a major version bump (v4 → v8). CI is fully green, indicating the action's interface is backward-compatible for our usage.

Conclusion: Safe to merge. CI confirms no regressions.

Copy link
Copy Markdown
Member

@raballew raballew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR jumps across 4 major versions (v4 -> v5 -> v6 -> v7 -> v8) and has compatibility concerns.

Breaking changes across versions:

  1. v8: Hash digest-mismatch now defaults to error instead of warn -- artifacts with digest mismatches will fail the workflow
  2. v8: No longer attempts to unzip all downloaded files (checks Content-Type first)
  3. v7: Requires Node.js 24 and Actions Runner >= v2.327.1

Critical issue -- upload/download version skew:
The e2e.yaml workflow still uses actions/upload-artifact@v4 (lines 80, 126, 161) for uploading artifacts in the build jobs, while this PR bumps only download-artifact to v8. The new digest enforcement (digest-mismatch: error default) could cause failures if the v4 uploader does not provide compatible digest metadata. build-oci-bundle.yaml uses upload-artifact@v7 which is better aligned but also inconsistent.

Suggested fix options:

  1. Bump actions/upload-artifact in e2e.yaml from v4 to v8 (or at least v7) in the same PR
  2. Or explicitly set digest-mismatch: warn on the download steps to preserve v4 behavior

The inputs used (name, path) are still supported, so the action interface itself is compatible.

🤖 Generated with Claude Code

@raballew
Copy link
Copy Markdown
Member

@ambient-code fix

@ambient-code
Copy link
Copy Markdown
Contributor

ambient-code Bot commented Apr 16, 2026

@raballew Good catch on the version skew. I attempted to push the fix (bumping actions/upload-artifact from v4 to v8 in e2e.yaml and from v7 to v8 in build-oci-bundle.yaml), but GitHub blocks GitHub App integrations from creating or updating workflow files without the workflows permission — this applies across all API methods (git push, Contents API, Git Data API, and Merges API).

Here are the exact changes needed:

.github/workflows/e2e.yaml — 3 occurrences on lines 80, 126, 161:

-        uses: actions/upload-artifact@v4
+        uses: actions/upload-artifact@v8

.github/workflows/build-oci-bundle.yaml — 1 occurrence on line 22:

-        uses: actions/upload-artifact@v7
+        uses: actions/upload-artifact@v8

This will align all upload-artifact and download-artifact versions at v8, avoiding the digest-mismatch behavior change (v8 defaults digest-mismatch to error instead of warn).

A maintainer with repo write access will need to push these changes to the dependabot branch, or these changes can be made in a separate follow-up PR.

@raballew
Copy link
Copy Markdown
Member

Dependabot Review

Recommendation: NEEDS COORDINATION with #592

This bumps actions/download-artifact from v4 to v8 in e2e.yaml. However, PR #592 bumps actions/upload-artifact from v4 to v7.

Issue: upload-artifact and download-artifact must use compatible major versions. These PRs need to be aligned -- either both use v7 or both use a compatible version pair. They should be merged together to avoid breaking the e2e artifact pipeline.

Fix: Align download-artifact to v7 to match the upload-artifact v7 in PR #592, or verify v8 download is backward-compatible with v7 uploads.

@raballew
Copy link
Copy Markdown
Member

Action needed: Coordinate with #592 (upload-artifact v7). Either downgrade this to download-artifact v7 to match, or verify cross-version compatibility. Merge both PRs together.

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 17, 2026

Superseded by #611.

@dependabot dependabot Bot closed this Apr 17, 2026
@dependabot dependabot Bot deleted the dependabot/github_actions/actions/download-artifact-8 branch April 17, 2026 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

already-checked ambient-fix dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code major

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant