Forum Discussion
namratam
Jan 03, 2022Copper Contributor
Azure Devops error-Some recent issues detected related to pipeline trigger
I am getting below trigger error on all the pipelines to the repo- Some recent issues detected related to pipeline trigger. This issue comes even when we create new fresh pipeline and the error ...
- Jan 03, 2022Have seen this same error, too (Yaml pipeline).
Edit -> Settings and pointing the pipeline file to a different yaml, saving, then resaving back resolves the error for us.
I investigated [this SO post](https://stackoverflow.com/questions/67830236/new-pipeline-on-azure-devops-shows-error-message-some-recent-issues-detected-re) but this wasn't the issue. The branch for the trigger already existed correctly.
DiggitC
Mar 28, 2022Copper Contributor
The reason you are getting the "Some recent issues detected related to pipeline trigger" is because your pipeline has the default CI triggers built in. Since you are in the wrong branch (I assume), and the default setup is to point to a "master" branch, Azure Devops is looking for the yaml in that branch and not finding it. To correct this, edit the pipeline, go to ...->triggers. Select the yaml tab and below you should see where the default source for manual and automatic runs is located. Select that and change the "Default branch for manual and scheduled builds" to your branch. Just remember, once you have merged your branch, to re-set this option.