-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Move package validation to package pipeline #26414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move package validation to package pipeline #26414
Conversation
There was a problem hiding this comment.
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
validatePackagesstage and its dependency from the release pipeline - Added
validatePackagesstage to the package pipeline after theuploadstage - 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.
This pull request updates the package validation workflow in the pipeline YAML files to improve the sequencing and location of the package validation stage. The main change is moving the
validatePackagesstage from the release pipeline to the package build pipeline, ensuring validation occurs earlier in the process.Pipeline workflow changes:
validatePackagesstage to.pipelines/PowerShell-Packages-Official.yml, placing package name validation immediately after the upload stage in the package build pipeline.validatePackagesstage from.pipelines/PowerShell-Release-Official.yml, so package validation is no longer performed in the release pipeline.validatePackagesstage.