title: Inter-pipeline dependency and multi-stage pipelines
body: <p>Use case:
  I have <a href="https://github.com/eduherminio/AoCHelper/blob/master/azure-pipelines.yml" rel="nofollow noreferrer">a pipeline</a> with two stages:</p>
  
  <ul>
  <li>One to be triggered by every PR/commit to master (build + tests).</li>
  <li>One to be triggered only when an input variable is provided, for publishing a new package version. This one depends on the first one.</li>
  </ul>
  
  <p>The last step of the second stage, after the package gets published, is to automatically commit a change to the repository.</p>
  
  <p>However, I'm not being able to override GitHub branch protection rules from Azure DevOps, so I cannot make that commit due to the pipeline not being 'green' yet.</p>
  
  <p>I've thought of separating both stages in two pipelines, and make my 'publish' pipeline depend on the 'build + tests' one (as if it was one of the old 'Release pipelines', but keeping everything in my <code>.yml</code> files).</p>
  
  <hr>
  
  <p>My questions are:</p>
  
  <ul>
  <li>Am I doing something wrong and should I be able to override GitHub branch protection rules from Azure DevOps?</li>
  <li>Is it possible to split my multistage pipeline in two, and make one depend on the other?</li>
  <li>Can you think of any other pattern to achieve my purpose?</li>
  </ul>
  
  <p>Thanks!</p>