Skip to content

deps: Update actions/upload-artifact action to v7#13

Merged
ANcpLua merged 1 commit into
mainfrom
renovate/major-github-artifact-actions
May 24, 2026
Merged

deps: Update actions/upload-artifact action to v7#13
ANcpLua merged 1 commit into
mainfrom
renovate/major-github-artifact-actions

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 24, 2026

This PR contains the following updates:

Package Type Update Change
actions/upload-artifact action major v4v7

Release Notes

actions/upload-artifact (actions/upload-artifact)

v7.0.1

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v7...v7.0.1

v7.0.0

Compare Source

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

v7

Compare Source

v6.0.0

Compare Source

v6

Compare Source

v5.0.0

Compare Source

v5

Compare Source

v4.6.2

Compare Source

What's Changed

  • Update to use artifact 2.3.2 package & prepare for new upload-artifact release by @​salmanmkc in #​685

New Contributors

Full Changelog: actions/upload-artifact@v4...v4.6.2

v4.6.1

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.6.1

v4.6.0

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.6.0

v4.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4.4.3...v4.5.0

v4.4.3

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.4.2...v4.4.3

v4.4.2

Compare Source

What's Changed

  • Bump @actions/artifact to 2.1.11 by @​robherley in #​627
    • Includes fix for relative symlinks not resolving properly

Full Changelog: actions/upload-artifact@v4.4.1...v4.4.2

v4.4.1

Compare Source

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4.4.0...v4.4.1

v4.4.0

Compare Source

Notice: Breaking Changes ⚠️

We will no longer include hidden files and folders by default in the upload-artifact action of this version. This reduces the risk that credentials are accidentally uploaded into artifacts. Customers who need to continue to upload these files can use a new option, include-hidden-files, to continue to do so.

See "Notice of upcoming deprecations and breaking changes in GitHub Actions runners" changelog and this issue for more details.

What's Changed

Full Changelog: actions/upload-artifact@v4.3.6...v4.4.0

v4.3.6

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.3.6

v4.3.5

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.3.4...v4.3.5

v4.3.4

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.3.3...v4.3.4

v4.3.3

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4.3.2...v4.3.3

v4.3.2

Compare Source

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4.3.1...v4.3.2

v4.3.1

Compare Source

v4.3.0

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.3.0

v4.2.0

Compare Source

What's Changed

Full Changelog: actions/upload-artifact@v4...v4.2.0

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v4...v4.1.0


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

Copy link
Copy Markdown

@codacy-production codacy-production Bot left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR attempts to update the actions/upload-artifact GitHub Action to version v7. However, according to the official GitHub Marketplace, the latest major version for this action is v4. Deploying this change as-is will cause the drift-check workflow to fail during execution.

While Codacy analysis indicates the code is otherwise 'up to standards', the invalid version reference is a blocking issue. Furthermore, the update introduces a breaking change from upstream version 4.4.0 where hidden files are now excluded by default. While your current configuration explicitly names the files to be uploaded, this behavior change should be noted for future maintenance.

About this PR

  • The actions/upload-artifact action introduced a breaking change in version 4.4.0 where hidden files (dotfiles) are excluded by default. While the current implementation explicitly lists 'drift-report.md' and 'drift-manifest.json', any future use of dotfiles in these paths will require the 'include-hidden-files' flag.

Test suggestions

  • Execute the workflow and verify that the 'drift-report' artifact is successfully created and contains both specified files.
  • Verify that the new v4.4.0 behavior (specifically the breaking change excluding hidden files) does not impact the current upload list.
Prompt proposal for missing tests
Consider implementing these tests if applicable:
1. Execute the workflow and verify that the 'drift-report' artifact is successfully created and contains both specified files.
2. Verify that the new v4.4.0 behavior (specifically the breaking change excluding hidden files) does not impact the current upload list.

TIP Improve review quality by adding custom instructions
TIP How was this review? Give us feedback

- name: Upload report
if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 HIGH RISK

The actions/upload-artifact action does not have a v7 release. The latest stable major version is v4. Using a non-existent version will cause the workflow to fail.

Suggested change
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
uses: actions/upload-artifact@v4

@ANcpLua ANcpLua merged commit 0be16b2 into main May 24, 2026
5 of 6 checks passed
@ANcpLua ANcpLua deleted the renovate/major-github-artifact-actions branch May 24, 2026 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant