[release/v7.5.6] Pin ready-to-merge.yml reusable workflow to commit SHA by daxian-dbw · Pull Request #27246 · PowerShell/PowerShell · GitHub
Skip to content

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

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

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

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #27204 to release/v7.5.6

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.

)

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
@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:49
Copilot AI review requested due to automatic review settings April 9, 2026 22:49
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.5.6 branch by pinning the PowerShell/compliance ready-to-merge.yml reusable workflow reference to an immutable commit SHA (preventing tag-mutation risk).

Changes:

  • Updated uses: PowerShell/compliance/.github/workflows/ready-to-merge.yml@... from v1.0.0 to c8b3ad5819ad7078f3e375519b4f8c6232d1cbdf in the Windows CI workflow (with # v1.0.0 comment preserved).
  • Made the same pinning change in the macOS CI workflow.
  • Made the same pinning change in the Linux CI workflow.

Reviewed changes

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

File Description
.github/workflows/windows-ci.yml Pins ready-to-merge.yml reusable workflow to a commit SHA with the original tag noted in a comment.
.github/workflows/macos-ci.yml Pins ready-to-merge.yml reusable workflow to the same commit SHA for consistent security hardening.
.github/workflows/linux-ci.yml Pins ready-to-merge.yml reusable workflow to the same commit SHA for consistent security hardening.

@daxian-dbw daxian-dbw merged commit 763d8f1 into PowerShell:release/v7.5.6 Apr 9, 2026
43 checks passed
@daxian-dbw daxian-dbw deleted the backport/release/v7.5.6/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