title: Azure DevOps Pipeline does not trigger based on another branch
body: <p>I have a DevOps pipeline placed in the &quot;develop&quot; branch but I want it to be triggered based on changes from another branch &quot;adf_publish&quot;. The trigger section is as follows:</p>
  <pre><code>trigger:
    branches:
      include:
        - adf_publish
  </code></pre>
  <p>It is not working for me. However, if I place this script in the &quot;adf_publish&quot; branch, then whenever there is a change, this script is triggered successfully.</p>
  <p>I have followed the syntax based on Microsoft <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&amp;tabs=yaml#ci-triggers" rel="nofollow noreferrer">documentation</a>:</p>
  <blockquote>
  <p>Continuous integration (CI) triggers cause a pipeline to run whenever
  you push an update to the specified branches or you push specified
  tags.</p>
  </blockquote>
  <p>There seems to be a lot of people having related problem but I did not see a clear solution so far, I have even tried changing settings on the classic editor as suggested by this <a href="https://stackoverflow.com/questions/57304825/azure-pipeline-to-trigger-pipeline-using-yaml">post</a>, but it is still not working for me. Any ideas will be appreciated.</p>