# 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/cognitivelanguage/
    - sdk/core/

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

extends:
  template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
  parameters:
    ServiceDirectory: cognitivelanguage
    TestProxy: true
    Artifacts:
    - name: azure-ai-language-questionanswering
      safeName: azureailanguagequestionanswering
    - name: azure-ai-language-conversations
      safeName: azureailanguageconversations
