Skip to content

Fix stage-defined checks by renaming __default stage to deploy in release pipeline#648

Merged
AmelBawa-msft merged 2 commits intomainfrom
copilot/update-stage-checks-in-pipeline
Mar 6, 2026
Merged

Fix stage-defined checks by renaming __default stage to deploy in release pipeline#648
AmelBawa-msft merged 2 commits intomainfrom
copilot/update-stage-checks-in-pipeline

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 5, 2026

Stage-defined checks (approval gates, environment checks) are only supported on named stages in Azure Pipelines. The release pipeline was using the special __default stage name, making stage-level checks unavailable.

Change

  • pipelines/azure-pipelines.release.yml: Renamed stage from __default to deploy
# Before
stages:
- stage: __default

# After
stages:
- stage: deploy

🔒 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.

Microsoft Reviewers: Open in CodeFlow

…ease.yml

Co-authored-by: AmelBawa-msft <104940545+AmelBawa-msft@users.noreply.github.com>
Copilot AI changed the title [WIP] Update stage-defined checks for named stages in pipeline Fix stage-defined checks by renaming __default stage to deploy in release pipeline Mar 5, 2026
@AmelBawa-msft AmelBawa-msft requested a review from Copilot March 5, 2026 23:27
@AmelBawa-msft AmelBawa-msft marked this pull request as ready for review March 5, 2026 23:28
Copy link
Copy Markdown

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

Renames the release pipeline stage from the special __default name to a named stage to enable Azure Pipelines stage-defined checks (approvals, environment checks).

Changes:

  • Renamed the stage from __default to deploy in the release pipeline YAML.

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

@AmelBawa-msft AmelBawa-msft merged commit 93546a5 into main Mar 6, 2026
7 checks passed
@AmelBawa-msft AmelBawa-msft deleted the copilot/update-stage-checks-in-pipeline branch March 6, 2026 03:21
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.

4 participants