Skip to content

[release/v7.4.15] Pin ready-to-merge.yml reusable workflow to commit SHA#27247

Merged
daxian-dbw merged 1 commit intoPowerShell:release/v7.4.15from
daxian-dbw:backport/release/v7.4.15/27204-58b00b5bb
Apr 9, 2026
Merged

[release/v7.4.15] Pin ready-to-merge.yml reusable workflow to commit SHA#27247
daxian-dbw merged 1 commit intoPowerShell:release/v7.4.15from
daxian-dbw:backport/release/v7.4.15/27204-58b00b5bb

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #27204 to release/v7.4.15

Triggered by @daxian-dbw on behalf of @copilot-swe-agent

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)

Backports the security hardening change that pins the ready-to-merge.yml reusable workflow reference from the v1.0.0 tag to a specific commit SHA. Pinning CI workflow references to commit SHAs is a security best practice that prevents tag mutation attacks.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

No functional code changes — only CI YAML workflow file updates. Backport cherry-picked cleanly without conflicts.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Change is limited to three .github/workflows/ files. The only modification is pinning a uses: reference from a tag to a commit SHA. No code changes, no dependency changes, no breaking changes possible.

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

Backports a CI security hardening change to the release/v7.4.15 branch by pinning the PowerShell/compliance reusable workflow ready-to-merge.yml to an immutable commit SHA (instead of the mutable v1.0.0 tag), reducing supply-chain risk from tag mutation.

Changes:

  • Pin PowerShell/compliance/.github/workflows/ready-to-merge.yml from @v1.0.0 to @c8b3ad5819ad7078f3e375519b4f8c6232d1cbdf in Linux CI.
  • Apply the same pinning change in Windows CI.
  • Apply the same pinning change in macOS CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/workflows/linux-ci.yml Pins the ready-to-merge.yml reusable workflow to a commit SHA with a # v1.0.0 comment.
.github/workflows/windows-ci.yml Pins the ready-to-merge.yml reusable workflow to a commit SHA with a # v1.0.0 comment.
.github/workflows/macos-ci.yml Pins the ready-to-merge.yml reusable workflow to a commit SHA with a # v1.0.0 comment.

@daxian-dbw daxian-dbw merged commit 7467f65 into PowerShell:release/v7.4.15 Apr 9, 2026
44 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.4.15/27204-58b00b5bb branch April 9, 2026 23:43
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.

4 participants