ci: auto-trigger build pipeline for robot upgrade branches#1688
Merged
zanejohnson-azure merged 1 commit intoMay 15, 2026
Conversation
Add auto/upgrade-telegraf-*, auto/upgrade-go-*, and dependabot/* branch patterns to the CI trigger so pushes from automated upgrade workflows (Go upgrades, Telegraf upgrades, Dependabot) trigger the build pipeline without needing a manual /azp run comment. Also add autoCancel to the PR trigger to cancel superseded runs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rashmichandrashekar
approved these changes
May 15, 2026
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.
Summary
Update the ADO build pipeline trigger so that robot-raised PRs (Go upgrades, Telegraf upgrades, Dependabot) trigger the build automatically on branch push, without needing a manual
/azp runcomment.Changes
trigger.branches.include— added bot branch patterns:auto/upgrade-telegraf-*(telegraf upgrade bot)auto/upgrade-go-*(Go upgrade bot)dependabot/*(Dependabot)pr.autoCancel: true— cancels superseded PR builds when a new push arrivesContext
Currently, robot PRs like #1676 (Go upgrade) and #1669 (Dependabot) don't auto-trigger the ADO build pipeline. This follows the same pattern used by ama-metrics to include bot branch names in the CI trigger.