[release/v7.5.6] Bump actions/upload-artifact from 6 to 7 by adityapatwardhan · Pull Request #27157 · PowerShell/PowerShell · GitHub
Skip to content

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

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.5.6from
adityapatwardhan:backport/release/v7.5.6/26914-e170b7210
Apr 3, 2026
Merged

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

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #26914 to release/v7.5.6

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

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

Updates GitHub Actions workflows on release/v7.5.6 to use actions/upload-artifact v7 so artifact upload steps remain on supported action versions.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Validated the backport by successfully cherry-picking the original merge commit onto release/v7.5.6 and resolving workflow-version conflicts in the four affected workflow files; changes are limited to upload-artifact action version updates.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

This touches CI workflow definitions only (no runtime product code). Risk is moderate because pipeline behavior can change with action-version upgrades, but scope is narrow and aligns with upstream merged change.

Merge Conflicts

Cherry-pick conflicts occurred because release/v7.5.6 had actions/upload-artifact v4 references while the original PR moved v6 to v7 on master. Resolved by applying the intended end state (v7 reference/hash) in .github/workflows/macos-ci.yml, .github/workflows/scorecards.yml, .github/workflows/windows-packaging-reusable.yml, and .github/workflows/xunit-tests.yml.

@adityapatwardhan adityapatwardhan added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 20:34
@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 2, 2026 20:34
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

Backport to release/v7.5.6 updating GitHub Actions workflows to use actions/upload-artifact v7 so artifact uploads remain on a supported major version.

Changes:

  • Update actions/upload-artifact usage from v4 to v7 in CI/test/packaging workflows.
  • Update the pinned actions/upload-artifact commit in the Scorecards workflow to v7.0.0.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/xunit-tests.yml Bumps actions/upload-artifact to v7 for xUnit result uploads.
.github/workflows/windows-packaging-reusable.yml Bumps actions/upload-artifact to v7 for Windows packaging artifact uploads.
.github/workflows/scorecards.yml Updates the pinned actions/upload-artifact SHA to v7.0.0 for SARIF artifact uploads.
.github/workflows/macos-ci.yml Bumps actions/upload-artifact to v7 for macOS package artifact upload.

Comment on lines 48 to 50
Copy link

Copilot AI Apr 2, 2026

Choose a reason for hiding this comment

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

The PR title says "Bump actions/upload-artifact from 6 to 7", but in this release branch the change is from actions/upload-artifact@v4 (and v4.3.6 in scorecards) to v7. Consider updating the PR title to reflect the actual before/after versions in this branch to avoid confusion during release backport tracking.

Copilot uses AI. Check for mistakes.
@adityapatwardhan adityapatwardhan merged commit 497fbce into PowerShell:release/v7.5.6 Apr 3, 2026
40 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.5.6/26914-e170b7210 branch April 3, 2026 00:56
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