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

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

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

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

Conversation

@daxian-dbw
Copy link
Copy Markdown
Member

Backport of #27204 to release/v7.6.1

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

Verified by original PR CI passing. 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 (c8b3ad5819ad7078f3e375519b4f8c6232d1cbdf). 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 review from a team and jshigetomi as code owners April 9, 2026 22:47
Copilot AI review requested due to automatic review settings April 9, 2026 22:47
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 the security hardening change from #27204 to the release/v7.6.1 branch by pinning the PowerShell/compliance reusable workflow reference (ready-to-merge.yml) to an immutable commit SHA instead of the mutable v1.0.0 tag.

Changes:

  • Update ready-to-merge.yml reusable workflow uses: references from @v1.0.0 to @c8b3ad5819ad7078f3e375519b4f8c6232d1cbdf.
  • Preserve the original tag via an inline comment (# v1.0.0) for traceability.

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 reusable workflow reference to a commit SHA.
.github/workflows/macos-ci.yml Pins the ready_to_merge reusable workflow reference to a commit SHA.
.github/workflows/windows-ci.yml Pins the ready_to_merge reusable workflow reference to a commit SHA.

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