Skip to content

Trigger AzDO CIs

Trigger AzDO CIs #57

name: Trigger AzDO CIs
on:
workflow_run:
workflows: [CI]
types:
- completed
branches:
- main
workflow_dispatch:
jobs:
trigger_azdo_ci:
name: Trigger Main CI
runs-on: windows-latest
steps:
- name: Trigger Main CI
uses: Azure/[email protected]
if: ${{ github.repository == 'ni/ni-apis' }}
with:
azure-devops-project-url: 'https://dev.azure.com/ni/DevCentral'
azure-pipeline-name: 'ASW-ni-apis-ci'
azure-devops-token: ${{ secrets.AZDO_PIPELINE_TRIGGERS }}
azure-pipeline-variables: '{"BRANCH": "main", "EXPORT_NAME": "ni-apis", "PHASE": "d"}'