◐ Shell
clean mode source ↗

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

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.