Skip to content

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

Merged
adityapatwardhan merged 1 commit into
PowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/26914-e170b7210
Apr 3, 2026
Merged

[release/v7.4.15] Bump actions/upload-artifact from 6 to 7#27141
adityapatwardhan merged 1 commit into
PowerShell:release/v7.4.15from
adityapatwardhan:backport/release/v7.4.15/26914-e170b7210

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

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

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

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

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

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.

  • High
  • Medium
  • Low

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.

@adityapatwardhan adityapatwardhan requested a review from a team as a code owner April 1, 2026 23:17
@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 1, 2026
Copilot AI review requested due to automatic review settings April 1, 2026 23:17
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.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-artifact usage 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.

@adityapatwardhan adityapatwardhan merged commit 17548ed into PowerShell:release/v7.4.15 Apr 3, 2026
45 of 50 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.4.15/26914-e170b7210 branch April 3, 2026 17:11
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