Skip to content

ci: bump actions/upload-artifact from 4 to 7#51

Merged
kienbui1995 merged 1 commit intomainfrom
dependabot/github_actions/actions/upload-artifact-7
Apr 13, 2026
Merged

ci: bump actions/upload-artifact from 4 to 7#51
kienbui1995 merged 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 Apr 13, 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
  • 043fb46 Merge pull request #797 from actions/yacaovsnc/update-dependency
  • 634250c Include changes in typespec/ts-http-runtime 0.3.5
  • e454baa Readme: bump all the example versions to v7 (#796)
  • 74fad66 Update the readme with direct upload details (#795)
  • 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
  • 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)

Summary by CodeRabbit

  • Chores
    • Updated CI/CD workflow dependencies to latest compatible versions for improved stability and security.

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4...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 added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Apr 13, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 13, 2026

📝 Walkthrough

Walkthrough

Two GitHub Actions workflow files were updated to use actions/upload-artifact@v7 instead of v4, upgrading the artifact upload step version in both CI and release pipelines.

Changes

Cohort / File(s) Summary
GitHub Actions version upgrades
.github/workflows/ci.yml, .github/workflows/release.yml
Updated actions/upload-artifact from v4 to v7 in artifact upload steps while preserving artifact names and paths.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 From v4 to v7, our artifacts fly,
The upload actions leap high in the sky!
A simple version bump, so clean and so bright,
Our workflows now shimmer with up-to-date light! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title clearly and concisely summarizes the main change: upgrading the actions/upload-artifact GitHub Action from version 4 to version 7 across the CI/CD workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/github_actions/actions/upload-artifact-7

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

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/workflows/release.yml:
- Around line 68-71: The workflow currently uses mixed major versions of the
artifact actions (actions/upload-artifact@v7 vs actions/download-artifact@v4);
confirm whether this is intentional and either align them to the same major
release or add an explicit comment in the workflow explaining why the versions
differ; check the upload step (actions/upload-artifact@v7) and the corresponding
download step (actions/download-artifact@v4) and change one to match the other
or add a clarifying inline comment above these steps stating the reason for
intentionally using different majors.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9dace794-7161-477e-b18f-527031c361de

📥 Commits

Reviewing files that changed from the base of the PR and between 619de6e and ca10aec.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • .github/workflows/release.yml

Comment on lines +68 to 71
- uses: actions/upload-artifact@v7
with:
name: ${{ matrix.name }}
path: ${{ matrix.name }}.tar.gz
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== Artifact action versions in workflows =="
rg -n --iglob '*.yml' --iglob '*.yaml' 'actions/(upload|download)-artifact@' .github/workflows

echo
echo "== Any self-hosted runner usage in workflows =="
rg -n --iglob '*.yml' --iglob '*.yaml' 'self-hosted' .github/workflows || true

Repository: kienbui1995/mc-code

Length of output: 374


Clarify intentional mixed major versions for artifact actions.

Line 68 updates actions/upload-artifact@v7, while line 79 in the same workflow uses actions/download-artifact@v4. Confirm this mixed major version usage is intentional before merge. (No self-hosted runners are present in workflows, so runner version compatibility is not a concern.)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/release.yml around lines 68 - 71, The workflow currently
uses mixed major versions of the artifact actions (actions/upload-artifact@v7 vs
actions/download-artifact@v4); confirm whether this is intentional and either
align them to the same major release or add an explicit comment in the workflow
explaining why the versions differ; check the upload step
(actions/upload-artifact@v7) and the corresponding download step
(actions/download-artifact@v4) and change one to match the other or add a
clarifying inline comment above these steps stating the reason for intentionally
using different majors.

@kienbui1995 kienbui1995 merged commit ea2a1a0 into main Apr 13, 2026
9 checks passed
@kienbui1995 kienbui1995 deleted the dependabot/github_actions/actions/upload-artifact-7 branch April 13, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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