Skip to content

fix: enhance release approval condition to include main and release branches#302057

Merged
joaomoreno merged 1 commit intomainfrom
joao/azure-possum
Mar 16, 2026
Merged

fix: enhance release approval condition to include main and release branches#302057
joaomoreno merged 1 commit intomainfrom
joao/azure-possum

Conversation

@joaomoreno
Copy link
Member

Co-authored-by: Copilot copilot@github.com

…ranches

Co-authored-by: Copilot <copilot@github.com>
Copilot AI review requested due to automatic review settings March 16, 2026 11:34
@joaomoreno joaomoreno enabled auto-merge (squash) March 16, 2026 11:34
@joaomoreno joaomoreno self-assigned this Mar 16, 2026
@vs-code-engineering
Copy link
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@lszomoru

Matched files:

  • build/azure-pipelines/product-build.yml

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

This PR tightens the Azure Pipelines release gating so the release approval/release stages are only included when running on main or release/* branches in the official (non-private) build context.

Changes:

  • Update the template-time condition that includes the ApproveRelease/Release stages to additionally require Build.SourceBranch be refs/heads/main or start with refs/heads/release/.

@joaomoreno joaomoreno merged commit 95e71c6 into main Mar 16, 2026
24 checks passed
@joaomoreno joaomoreno deleted the joao/azure-possum branch March 16, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants