Remove VerifyInstallers from PR builds in release-cli.yml#6899
Remove VerifyInstallers from PR builds in release-cli.yml#6899rajeshkamal5050 merged 2 commits intomainfrom
Conversation
Co-authored-by: danieljurek <2158838+danieljurek@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR optimizes CI/CD pipeline resource usage by excluding the VerifyInstallers stage from pull request builds, as this stage consumes significant agent capacity but is rarely needed during PR validation.
Changes:
- Conditionally include the
verify-installers.ymlstage to skip execution on PR builds while maintaining execution for CI (main branch) and scheduled pipelines
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Azure Dev CLI Install InstructionsInstall scriptsMacOS/Linux
bash: pwsh: WindowsPowerShell install MSI install Standalone Binary
MSI
Documentationlearn.microsoft.com documentationtitle: Azure Developer CLI reference
|
|
/check-enforcer override |
VerifyInstallerswas running unconditionally inrelease-cli.yml, including on every PR build, consuming excessive agent capacity for a stage rarely needed at that stage.Change
verify-installers.ymlstage inclusion with${{ if ne(variables['Build.Reason'], 'PullRequest') }}so it is skipped on PR builds but continues to run on CI (main branch) and scheduled pipeline executions.Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.