Skip to content

[release/v7.4] Update Get-ChangeLog to handle backport PRs correctly#26870

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26610-cd0628641
Feb 20, 2026
Merged

[release/v7.4] Update Get-ChangeLog to handle backport PRs correctly#26870
adityapatwardhan merged 1 commit intoPowerShell:release/v7.4from
TravisEz13:backport/release/v7.4/26610-cd0628641

Conversation

@TravisEz13
Copy link
Member

Backport of #26610 to release/v7.4

Triggered by @TravisEz13 on behalf of @daxian-dbw

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)

Fixes release tooling so Get-ChangeLog attributes backport PRs to the original author and strips [release/vX.X] prefixes.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Not run locally; change is to release tooling logic.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

Modifies release tooling used for changelog generation; limited scope but affects release metadata.

Copilot AI review requested due to automatic review settings February 20, 2026 22:23
@TravisEz13 TravisEz13 requested a review from a team as a code owner February 20, 2026 22:23
@TravisEz13 TravisEz13 added the CL-BuildPackaging Indicates that a PR should be marked as a build or packaging change in the Change Log label Feb 20, 2026
Copy link
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 tooling changes to Get-ChangeLog on release/v7.4 so changelog generation correctly attributes backport PRs to the original author and removes [release/vX.X] prefixes from entries.

Changes:

  • Add a PowerShell-team GitHub login allowlist to decide when “Thanks @user!” should be emitted.
  • Update Get-ChangeLog to detect backport PRs, extract the “on behalf of” author from PR body, and reuse PR metadata for labels.
  • Strip [release/vX.X] prefixes in Get-ChangeLogMessage and avoid $input automatic variable collision in Invoke-PRBackport.

@TravisEz13
Copy link
Member Author

@copilot open a new pull request to apply changes based on the comments in this thread

@adityapatwardhan adityapatwardhan merged commit 510db2d into PowerShell:release/v7.4 Feb 20, 2026
40 checks passed
@TravisEz13 TravisEz13 deleted the backport/release/v7.4/26610-cd0628641 branch February 20, 2026 22:30
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