# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file.

trigger:
  branches:
    include:
    - main
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/machinelearning/

pr:
  branches:
    include:
    - main
    - feature/*
    - hotfix/*
    - release/*
    - restapi*
  paths:
    include:
    - sdk/machinelearning/

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: machinelearning
    Artifacts:
    - name: azure-mgmt-machinelearningservices
      safeName: azuremgmtmachinelearningservices
    - name: azure-mgmt-machinelearningcompute
      safeName: azuremgmtmachinelearningcompute
    - name: azure-mgmt-guestconfig
      safeName: azuremgmtguestconfig