Skip to content

Update cd-core pipeline for main; gate preview publish on PushToADOFeed#468

Merged
singhk97 merged 2 commits into
mainfrom
remove-next-core-publish-condition
May 1, 2026
Merged

Update cd-core pipeline for main; gate preview publish on PushToADOFeed#468
singhk97 merged 2 commits into
mainfrom
remove-next-core-publish-condition

Conversation

@singhk97
Copy link
Copy Markdown
Collaborator

@singhk97 singhk97 commented May 1, 2026

Summary

  • core/ has been merged to main, so update .azdo/cd-core.yaml triggers from next/* to main and release/* (filtered to core/** paths). Pairs with ci.yaml, which excludes core/** on the same branches.
  • Replace the refs/heads/next/core source-branch gate on the NuGet push step with the existing PushToADOFeed pipeline variable, making preview-feed publish an explicit opt-in.
  • Refresh the header comment to match.

Test plan

  • Queue the BotCore-CD pipeline on a core/** change with PushToADOFeed=false — push step should be skipped.
  • Queue with PushToADOFeed=true — packages should land in TeamsSDKPreviews.
  • Confirm ci.yaml (which excludes core/**) and cd-core.yaml don't double-trigger on the same change.

🤖 Generated with Claude Code

core/ now lives on main, so trigger on main and release/* (core/** paths)
instead of next/*. Replace the next/core source-branch gate on the
NuGet push step with the PushToADOFeed pipeline variable so publishing
to TeamsSDKPreviews is an explicit opt-in. Refresh the header comment
to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 1, 2026 18:45
…ish-condition

# Conflicts:
#	.azdo/cd-core.yaml
Copy link
Copy Markdown
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

Note

Copilot was unable to run its full agentic suite in this review.

Updates the BotCore-CD Azure DevOps pipeline to make publishing to the internal preview feed an explicit opt-in via PushToADOFeed, and refreshes associated pipeline documentation/formatting.

Changes:

  • Gate the NuGet push step on the PushToADOFeed pipeline variable instead of a specific source branch.
  • Refresh header comments to describe the new publish behavior.
  • Minor whitespace/formatting cleanup in the restore step and artifact publish section.

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

Comment thread .azdo/cd-core.yaml
Comment thread .azdo/cd-core.yaml
Comment thread .azdo/cd-core.yaml
@singhk97 singhk97 merged commit 3872382 into main May 1, 2026
9 checks passed
@singhk97 singhk97 deleted the remove-next-core-publish-condition branch May 1, 2026 19:02
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