Skip to content

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

Merged
rolfbjarne merged 1 commit intomainfrom
dev/rolf/disable-ci-trigger
Apr 23, 2026
Merged

[devops] Disable implicit CI triggers on xamarin-macios-pr pipeline#25211
rolfbjarne merged 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 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.

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>
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

Disables implicit branch CI on the xamarin-macios-pr Azure DevOps pipeline so it only runs for pull requests, preventing duplicate builds caused by Azure DevOps’ default CI trigger behavior when trigger: is omitted.

Changes:

  • Add an explicit trigger: none to disable branch CI triggers.
  • Keep the existing pr: trigger configuration as the sole trigger for this pipeline.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@rolfbjarne rolfbjarne merged commit 9c925f0 into main Apr 23, 2026
14 checks passed
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.

4 participants