Skip to content

Bump actions/upload-artifact from 4 to 7#453

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

Bump actions/upload-artifact from 4 to 7#453
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/github_actions/actions/upload-artifact-7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 5, 2026

Bumps actions/upload-artifact from 4 to 7.

Release notes

Sourced from actions/upload-artifact's releases.

v7.0.0

v7 What's new

Direct Uploads

Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file.

ESM

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

What's Changed

New Contributors

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

v6.0.0

v6 - What's new

[!IMPORTANT] actions/upload-artifact@v6 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. v5 had preliminary support for Node.js 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

Full Changelog: actions/upload-artifact@v5.0.0...v6.0.0

v5.0.0

What's Changed

BREAKING CHANGE: this update supports Node v24.x. This is not a breaking change per-se but we're treating it as such.

... (truncated)

Commits
  • bbbca2d Support direct file uploads (#764)
  • 589182c Upgrade the module to ESM and bump dependencies (#762)
  • 47309c9 Merge pull request #754 from actions/Link-/add-proxy-integration-tests
  • 02a8460 Add proxy integration test
  • b7c566a Merge pull request #745 from actions/upload-artifact-v6-release
  • e516bc8 docs: correct description of Node.js 24 support in README
  • ddc45ed docs: update README to correct action name for Node.js 24 support
  • 615b319 chore: release v6.0.0 for Node.js 24 support
  • 017748b Merge pull request #744 from actions/fix-storage-blob
  • 38d4c79 chore: rebuild dist
  • Additional commits viewable in compare view


Note

Low Risk
Low risk: this only updates the actions/upload-artifact version used in GitHub Actions workflows, with no application code changes; the main risk is workflow/runtime incompatibility if the new action behavior or Node runtime requirements differ.

Overview
Updates GitHub Actions workflows to use actions/upload-artifact@v7 instead of older major versions.

This affects artifact uploads in the Dependabot Cursor malware-scan workflow and the PR deploy/review build workflow, keeping artifact publishing aligned with the latest upload-artifact action.

Written by Cursor Bugbot for commit 8c4eecc. This will update automatically on new commits. Configure here.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code labels Mar 5, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 5, 2026

🤖 Cursor Dependency Analysis

Supply-Chain Malware Review

Scanning the repo for upload-artifact usage and verifying workflow references.

Verdict: benign

Why this is acceptable

  • Source: The change pins actions/upload-artifact from the official actions org—no typosquatting or unknown publisher.
  • Scanner: Post-allowlist counts are 0 for unicode, confusable, and IOC. The 530 heuristic hits are almost entirely charCodeAt / fromCodePoint / codePointAt matches in large bundled dist/upload/index.js and dist/merge/index.js; that pattern is normal for minified/bundled Node code and string/encoding helpers, not evidence of a hidden payload by itself.
  • Release alignment: The described jumps (Node 24 / node24 in v6, ESM and optional archive in v7) match the public release notes for this action.
  • This repo: Only .github/workflows/deploy-review.yml and .github/workflows/dependabot-cursor-review.yml reference actions/upload-artifact@v7—a straightforward version bump, not unrelated workflow logic.

Actionable caveat (ops, not malware): v6+ needs a runner ≥ 2.327.1 if you use self-hosted runners; GitHub-hosted runners are fine. No extra steps unless you use archive: false (new behavior you are not required to adopt).

Scanner vs. interpretation: The tool flagged many “codepoint decoder” lines; those are consistent with benign bundled JS and disagree with a malware reading unless paired with IOC/confusable findings—which are absent here.

Compatibility Analysis

Searching the repo for actions/upload-artifact usage and inspecting workflow inputs for compatibility with v7.

1) Where actions/upload-artifact is used

Only in GitHub Actions workflows:

File Role
.github/workflows/deploy-review.yml Uploads the build/ directory after npm run build (name: build, path: build).
.github/workflows/dependabot-cursor-review.yml Uploads malware-scan outputs (malware_scan_report.json, malware_scan_summary.md, upstream_changed_files.txt) with if-no-files-found: warn.

No app code or package manifests reference this action.


2) Usage vs. changed APIs (v4 → v7)

From .upstream-dependency/action.yml and the release notes:

  • archive (v7) — Optional; default is true (zipped archive). Your workflows do not set archive: false, so you avoid the new single-file / ignore-name behavior.
  • Inputs you usename, path, and if-no-files-found are still defined; defaults and semantics for normal directory and multi-file uploads are unchanged for the default archive: true path.
  • Runtime — The action runs with runs.using: node24 (v6+). That affects the runner, not your node:20-alpine job container in deploy-review (the action process is separate).

deploy-review.yml already pairs actions/download-artifact@v7 with the same artifact name, so major-version alignment is consistent.


3) Risks / unknowns

  • Self-hosted runners — v6+ requires runner ≥ 2.327.1 for Node 24–based actions. GitHub-hosted ubuntu-latest is fine; old self-hosted runners could fail until upgraded.
  • GitHub Enterprise Server — If you ever run these workflows on GHES, confirm your instance supports the action/runtime versions you pin (release notes call this out for older stacks).
  • Internal ESM change (v7) — Implementation detail of the action; no change required in your YAML unless you relied on undocumented behavior (you do not).

4) Recommendation

Merge for typical GitHub-hosted usage.

Use merge-with-caveats only if you rely on self-hosted runners: verify they are at least 2.327.1 before merging, or hold until those runners are updated.

Hold is not warranted for hosted GitHub Actions based on current usage and inputs.


Malware Scan Summary

  • Status: warn
  • Warn only mode: true
  • Changed upstream files scanned: 35
  • Resolution strategy: tag_range
  • Changed node/vendor paths: 0
  • Changed lockfiles: 1
  • Resolved upstream range: ea165f8d65b6e75b540449e92b4886f43607fa02..bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
  • Resolved refs: from=ea165f8d65b6e75b540449e92b4886f43607fa02 to=bbbca2ddaa5d8feaa63e36b76fdaad77386f024f
  • Unicode findings (post-allowlist): 0
  • Confusable findings (post-allowlist): 0
  • IOC findings (post-allowlist): 0
  • Heuristic findings (post-allowlist): 530

Top findings

  • dist/upload/index.js:933 codepoint_decoder :: : str.charCodeAt(0);
  • dist/upload/index.js:3414 codepoint_decoder :: decTable[encTable[i].charCodeAt(0)] = i;
  • dist/upload/index.js:3416 codepoint_decoder :: decTable["-".charCodeAt(0)] = encTable.indexOf("+");
  • dist/upload/index.js:3417 codepoint_decoder :: decTable["_".charCodeAt(0)] = encTable.indexOf("/");
  • dist/upload/index.js:3444 codepoint_decoder :: b = decTable[base64Str.charCodeAt(i)];
  • dist/upload/index.js:19575 codepoint_decoder :: for(var i = 0, L = bstr.length; i < L;) C = (C>>>8) ^ T0[(C^bstr.charCodeAt(i++))&0xFF];
  • dist/upload/index.js:19597 codepoint_decoder :: c = str.charCodeAt(i++);
  • dist/upload/index.js:19604 codepoint_decoder :: c = (c&1023)+64; d = str.charCodeAt(i++)&1023;
  • dist/upload/index.js:20100 codepoint_decoder :: hash = ((hash << 5) - hash) + namespace.charCodeAt(i);
  • dist/upload/index.js:25872 codepoint_decoder :: var c = r.charCodeAt(r.length - 1);
  • dist/upload/index.js:36617 codepoint_decoder :: : str.charCodeAt(0);
  • dist/upload/index.js:39331 codepoint_decoder :: var c = r.charCodeAt(r.length - 1);
  • dist/upload/index.js:39990 codepoint_decoder :: const ZERO_OFFSET = '0'.charCodeAt(0)
  • dist/upload/index.js:40756 codepoint_decoder :: result += String.fromCodePoint(this.codePoint)
  • dist/upload/index.js:40816 codepoint_decoder :: result += String.fromCodePoint(this.codePoint)
  • dist/upload/index.js:44693 codepoint_decoder :: const code = this.code = key.charCodeAt(index)
  • dist/upload/index.js:44717 codepoint_decoder :: const code = key.charCodeAt(index)
  • dist/upload/index.js:45406 codepoint_decoder :: if (!isTokenCharCode(characters.charCodeAt(i))) {
  • dist/upload/index.js:51396 codepoint_decoder :: for (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) {
  • dist/upload/index.js:54487 codepoint_decoder :: const charCode = attributeValue.charCodeAt(0)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...v7)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot changed the title Bump actions/upload-artifact from 6 to 7 Bump actions/upload-artifact from 4 to 7 Apr 2, 2026
@dependabot dependabot bot force-pushed the dependabot/github_actions/actions/upload-artifact-7 branch from 6841b07 to 8c4eecc Compare April 2, 2026 16:44
@BrandtH22
Copy link
Copy Markdown
Contributor

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 13, 2026

Looks like actions/upload-artifact is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Apr 13, 2026
@dependabot dependabot bot deleted the dependabot/github_actions/actions/upload-artifact-7 branch April 13, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changed Required label for PR that categorizes merge commit message as "Changed" for changelog dependencies Pull requests that update a dependency file github_actions Pull requests that update Github_actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant