title: is there a way to have as possible values of a parameter the branches of another repository
body: <p>in azureDevops yaml pipelines</p>
  <ul>
  <li><p>if i want to create another parameter that have as possible values the list of branches of the current repo. how to do that?</p>
  </li>
  <li><p>another question. if i want to let the user choose the branch to clone of another repo for example</p>
  </li>
  </ul>
  <pre><code>resources:
    repositories:
    - repository: mytest
      type: git
      name: mytest
      ref: $(BranchBinariesName)
  
  
  parameters:
  - name: BranchBinariesName
    type: string
  
  
  variables:
  - name: BranchBinariesName
    value: &quot;${{ parameters['BranchBinariesName'] }}&quot;
  
  
  stages:
  
  - stage: test1
    displayName: &quot;test&quot;
    pool: myBuilder
    jobs:
    - job: display
      displayName: 'display'
      timeoutInMinutes: 210
      steps:
      - checkout: mytest
  </code></pre>
  <p>so i need that the possible values of the parameter BranchBinariesName be the available branches of the repo mytest</p>