Skip to content

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

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

rolfbjarne merged 1 commit into
mainfrom
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>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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
rolfbjarne added a commit that referenced this pull request May 6, 2026
…25344)

* [devops] Make the tests pipeline use a pr: trigger. (#25239)
* [devops] Make the API diff pipeline use a pr: trigger. (#25284)
* [devops] Fix PR latest-commit detection (#25231)
* [devops] Add a timeout to the 'Publish to Artifact Services Drop' step. (#25210)
* [devops] Disable implicit CI triggers on xamarin-macios-pr pipeline (#25211)
* [devops] Remove the branch-based trigger for pull requests. (#25182)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rokvin@microsoft.com>
rolfbjarne added a commit that referenced this pull request May 7, 2026
…25345)

* [devops] Make the tests pipeline use a pr: trigger. (#25239)
* [devops] Make the API diff pipeline use a pr: trigger. (#25284)
* [devops] Fix PR latest-commit detection (#25231)
* [devops] Disable implicit CI triggers on xamarin-macios-pr pipeline (#25211)
* [devops] Remove the branch-based trigger for pull requests. (#25182)

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Rolf Bjarne Kvinge <rokvin@microsoft.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.

4 participants