[release/v7.4.15] Bump actions/upload-artifact from 6 to 7#27141
Merged
adityapatwardhan merged 1 commit intoApr 3, 2026
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Backport to release/v7.4.15 of the main-branch change updating GitHub Actions artifact upload steps to actions/upload-artifact v7, keeping the release branch CI/workflows aligned with supported action versions.
Changes:
- Updated
actions/upload-artifactusage to v7 in reusable xUnit test workflow and packaging workflows. - Updated the scorecards workflow artifact upload step from a pinned v3 digest to the pinned v7.0.0 digest.
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 | Bumps xUnit results upload step to actions/upload-artifact@v7. |
| .github/workflows/windows-packaging-reusable.yml | Bumps build artifact upload step to actions/upload-artifact@v7. |
| .github/workflows/scorecards.yml | Updates pinned actions/upload-artifact digest from v3.1.3 to v7.0.0 for SARIF artifact upload. |
| .github/workflows/macos-ci.yml | Bumps macOS package artifact upload step to actions/upload-artifact@v7. |
TravisEz13
approved these changes
Apr 3, 2026
17548ed
into
PowerShell:release/v7.4.15
45 of 50 checks passed
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.4.15
Triggered by @adityapatwardhan 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
Updates GitHub Actions workflow artifact upload steps on the release/v7.4.15 branch to actions/upload-artifact v7 so release branch CI and packaging workflows stay aligned with supported action versions.
Customer Impact
Regression
REQUIRED: Check exactly one box.
This is not a regression.
Testing
Verified the original PR diff applies to the four affected workflow files on release/v7.4.15, resolved branch-specific version conflicts by preserving the release branch workflow structure while updating only the upload-artifact action reference, and confirmed the cherry-pick completed successfully with a clean worktree. No product or Pester tests were applicable because this change only updates GitHub Actions workflow definitions.
Risk
REQUIRED: Check exactly one box.
This changes CI/build infrastructure used by release workflows, so the blast radius is broader than a typical code fix. The change itself is narrowly scoped to artifact upload action references in four workflow files and mirrors the already-merged change from main, which reduces implementation risk.
Merge Conflicts
Conflicts occurred in .github/workflows/macos-ci.yml, .github/workflows/scorecards.yml, .github/workflows/windows-packaging-reusable.yml, and .github/workflows/xunit-tests.yml because release/v7.4.15 still used older upload-artifact versions (v4 or an older pinned v3 digest) while the original PR updated from v6 to v7 on main. Resolved each conflict by keeping the release branch workflow layout intact and updating only the actions/upload-artifact reference to the v7 equivalent used by the original PR.