Skip to content

[devops] Disable implicit CI triggers on xamarin-macios-pr pipeline#25278

Closed
rolfbjarne wants to merge 1 commit intomainfrom
dev/rolf/disable-ci-trigger
Closed

[devops] Disable implicit CI triggers on xamarin-macios-pr pipeline#25278
rolfbjarne wants to merge 1 commit intomainfrom
dev/rolf/disable-ci-trigger

Conversation

@rolfbjarne
Copy link
Copy Markdown
Member

Without an explicit trigger: section, Azure DevOps defaults to enabling CI triggers on all branches. This caused duplicate builds when a branch (e.g. dev/*) had an open PR — one individualCI build from the implicit CI trigger and one pullRequest build from the PR trigger.

Adding trigger: none ensures only PR-triggered builds run, eliminating the duplicate.

Fixes the duplicate build issue reported in session 4eff85aa (PR #25209 triggered two CI builds).

🤖 Pull request created by Copilot

Without an explicit trigger section, Azure DevOps defaults to enabling
CI triggers on all branches. This causes duplicate builds when a branch
(e.g. darc-main-*) has an open PR — one from the implicit CI trigger
and one from the PR trigger.

Adding 'trigger: none' ensures only PR-triggered builds run.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant