Move package validation to package pipeline by TravisEz13 · Pull Request #26414 · PowerShell/PowerShell

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the pipeline organization by moving the validatePackages stage from the release pipeline to the package pipeline, where package validation logically belongs. This improves separation of concerns by validating packages immediately after they are created and uploaded, rather than during the release process.

Key changes:

  • Removed validatePackages stage and its dependency from the release pipeline
  • Added validatePackages stage to the package pipeline after the upload stage
  • Fixed trailing whitespace on line 361

Reviewed Changes

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

File Description
.pipelines/PowerShell-Release-Official.yml Removed validatePackages stage and its dependency from UpdateChangeLog stage; fixed trailing whitespace
.pipelines/PowerShell-Packages-Official.yml Added validatePackages stage after upload stage to validate package names immediately after upload

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.