[release/v7.6] Bump actions/upload-artifact from 6 to 7#26979
Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.6from Mar 10, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
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-artifacttov7in xUnit and Windows packaging reusable workflows. - Updated macOS CI workflow artifact upload step to
v7. - Updated the Scorecards workflow to the
v7.0.0pinned 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. |
jshigetomi
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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
Regression
REQUIRED: Check exactly one box.
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.
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.