fix: remove previewBranch parameter and align deploy stage condition - #2526
Merged
Ramses Sanchez-Hernandez (ramsessanchez) merged 4 commits intoApr 10, 2026
Merged
Conversation
Jingjing Jia (jingjingjia-ms)
requested a review
from a team
as a code owner
December 19, 2025 00:18
Copilot started reviewing on behalf of
Ramses Sanchez-Hernandez (ramsessanchez)
April 7, 2026 20:03
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Removes the GitHub release deployment job from the CI build pipeline so that GitHub deployments are handled by the release process instead.
Changes:
- Deleted the
deploy_githubdeployment job from thedeploystage in the Azure Pipelines CI definition. - Left the Maven deployment (
deploy_maven) as the remaining deployment job in thedeploystage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Copilot started work on behalf of
Ramses Sanchez-Hernandez (ramsessanchez)
April 8, 2026 23:54
View session
… deploy_maven job Agent-Logs-Url: https://github.com/microsoftgraph/msgraph-sdk-java/sessions/b7a800ea-5b58-481a-89e5-fa85ce699226 Co-authored-by: ramsessanchez <63934382+ramsessanchez@users.noreply.github.com>
Copilot
AI
changed the title
fix: remove deploy github job from ci-build
fix: remove previewBranch parameter and align deploy stage condition
Apr 8, 2026
Ramses Sanchez-Hernandez (ramsessanchez)
approved these changes
Apr 8, 2026
Ramses Sanchez-Hernandez (ramsessanchez)
enabled auto-merge
April 10, 2026 23:32
Ramses Sanchez-Hernandez (ramsessanchez)
self-requested a review
April 10, 2026 23:35
Ramses Sanchez-Hernandez (ramsessanchez)
approved these changes
Apr 10, 2026
Peter Ombwa (peombwa)
approved these changes
Apr 10, 2026
Ramses Sanchez-Hernandez (ramsessanchez)
merged commit Apr 10, 2026
53507c0
into
main
11 of 12 checks passed
Ramses Sanchez-Hernandez (ramsessanchez)
deleted the
fix/remove-ci-github-deploy
branch
April 10, 2026 23:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deploy stage condition referenced a
previewBranchparameter that became unnecessary after removingdeploy_github. This caused the deploy stage to execute onpreviewBranchpushes while immediately skipping all jobs — confusing and misleading.Changes
previewBranchparameter — no longer referenced anywhere in the pipelinedeploy_mavenjob's condition exactly: