Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 11 additions & 22 deletions tools/devops/automation/run-ci-api-diff.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
# Pipeline that will calculate the api diff on a ci commit.

trigger:
branches:
include:
- '*'
exclude:
- refs/heads/locfiles/*
- refs/heads/dev/*
- refs/heads/darc-*
- refs/heads/backport-pr-*
paths:
exclude:
- .github
- docs
- CODEOWNERS
- ISSUE_TEMPLATE.md
- LICENSE
- NOTICE.txt
- SECURITY.MD
- README.md
- src/README.md
- tools/mtouch/README.md
- msbuild/Xamarin.Localization.MSBuild/README.md
trigger: none
pr: none

# we cannot use a template in a pipeline context
resources:
pipelines:
- pipeline: macios
source: \Xamarin\Mac-iOS\ci pipelines\xamarin-macios-ci
trigger:
stages:
- configure_build

extends:
template: templates/pipelines/api-diff-pipeline.yml
Expand Down
26 changes: 8 additions & 18 deletions tools/devops/automation/run-pr-api-diff.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,15 @@
# Pipeline that will calculate the api diff on a pr commit.

trigger: none
pr: none

pr:
autoCancel: true
branches:
include:
- '*' # yes, you do need the quote, * has meaning in yamls
paths:
exclude:
- .github
- docs
- CODEOWNERS
- ISSUE_TEMPLATE.md
- LICENSE
- NOTICE.txt
- SECURITY.MD
- README.md
- src/README.md
- tools/mtouch/README.md
- msbuild/Xamarin.Localization.MSBuild/README.md
resources:
pipelines:
- pipeline: macios
source: \Xamarin\Mac-iOS\pr pipelines\xamarin-macios-pr
trigger:
stages:
- configure_build

extends:
template: templates/pipelines/api-diff-pipeline.yml
Expand Down