Trigger Azure pipeline from multiple repositories

Copper Contributor

Hello. I am trying to create a simple pipeline that runs tests.

I wanna trigger my pipeline from 2 repositories (I used this doc https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops#...). The first repository contains ‘azure-pipelines.yml’, in which I specified triggers from both repos:

 

 

resources:
  repositories:
  - repository: todo-app-server
    type: github
    endpoint: max_pat
    name: maximkulakivsky/todo-app-server
    trigger:
    - master

trigger:
- master

...

 



When I make a commit to the first repository everything is working and the pipeline is triggered. But when I make a commit to the second repo nothing is happening. I tried changing my Oauth connection to Github PAT (I used this doc https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github?view=azure-devops&tabs=yaml), but that didn’t help.

Please, help me. :cry:

2 Replies

According to the documentation (https://learn.microsoft.com/en-us/azure/devops/pipelines/repos/multi-repo-checkout?view=azure-devops) the trigger functionality does not support GitHub repos.  
@maximkulakivsky