Skip to content

ci: auto-trigger build pipeline for robot upgrade branches#1688

Merged
zanejohnson-azure merged 1 commit into
ci_prodfrom
zanejohnson-azure/auto-trigger-robot-prs
May 15, 2026
Merged

ci: auto-trigger build pipeline for robot upgrade branches#1688
zanejohnson-azure merged 1 commit into
ci_prodfrom
zanejohnson-azure/auto-trigger-robot-prs

Conversation

@zanejohnson-azure
Copy link
Copy Markdown
Contributor

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 run comment.

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 arrives

Context

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.

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>
@zanejohnson-azure zanejohnson-azure requested a review from a team as a code owner May 15, 2026 17:37
@zanejohnson-azure zanejohnson-azure merged commit a752709 into ci_prod May 15, 2026
19 checks passed
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.

2 participants