Skip to content

[release/v7.6] Bump actions/upload-artifact from 6 to 7#26979

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26914-e170b7210
Mar 10, 2026
Merged

[release/v7.6] Bump actions/upload-artifact from 6 to 7#26979
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from
daxian-dbw:backport/release/v7.6/26914-e170b7210

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #26914 to release/v7.6

Triggered by @daxian-dbw on behalf of @app/dependabot

Original CL Label: CL-BuildPackaging

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

Upgrades actions/upload-artifact from v6 to v7 across CI/CD workflows. V7 adds support for direct file uploads (unzipped) and upgrades to ESM module format.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

V7 has been tested and validated in master branch. Conflicts were straightforward version mismatches (v4 in release branch vs v7 incoming) that were resolved by taking v7. No functional changes to workflows beyond action version upgrade.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Medium risk as this is a major version upgrade (v6 → v7) of GitHub Actions upload-artifact action. New version introduces direct file upload support and ESM module format. However, changes are to CI/CD infrastructure only with no impact on production code. V7 has been stable in master branch.

Merge Conflicts

Merge conflicts in 4 workflow files (.github/workflows/macos-ci.yml, scorecards.yml, windows-packaging-reusable.yml, xunit-tests.yml) were resolved by upgrading actions/upload-artifact from v4 to v7. The release branch had v4, incoming change was v7. Conflicts occurred due to version mismatch between branch vintages. Git rerere recorded resolutions for future use.

@daxian-dbw daxian-dbw requested review from a team and jshigetomi as code owners March 10, 2026 18:41
@daxian-dbw daxian-dbw added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Mar 10, 2026
Copilot AI review requested due to automatic review settings March 10, 2026 18:41
Copy link
Copy Markdown
Contributor

Copilot AI 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

Updates the actions/upload-artifact GitHub Action version used by select release/v7.6 CI workflows to align with the already-validated major upgrade in the default branch.

Changes:

  • Bumped actions/upload-artifact to v7 in xUnit and Windows packaging reusable workflows.
  • Updated macOS CI workflow artifact upload step to v7.
  • Updated the Scorecards workflow to the v7.0.0 pinned commit SHA.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/xunit-tests.yml Upload xUnit results using actions/upload-artifact@v7.
.github/workflows/windows-packaging-reusable.yml Upload Windows packaging artifacts using actions/upload-artifact@v7.
.github/workflows/scorecards.yml Update pinned actions/upload-artifact SHA to v7.0.0.
.github/workflows/macos-ci.yml Upload macOS package artifacts using actions/upload-artifact@v7.

@daxian-dbw daxian-dbw merged commit 8a00d5b into PowerShell:release/v7.6 Mar 10, 2026
40 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.6/26914-e170b7210 branch March 10, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants