# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.
trigger:
  branches:
    include:
    - master
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/cosmos/
    - sdk/core/

pr:
  branches:
    include:
    - master
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/cosmos/
    - sdk/core/

extends:
  template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml
  parameters:
    ServiceDirectory: cosmos
    Artifacts:
    - name: azure_cosmos
      safeName: azurecosmos
    - name: azure_mgmt_cosmosdb
      safeName: azuremgmtcosmosdb
