package _Self.vcsRoots

import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot

object GitHubPullRequest : GitVcsRoot({
    name = "IdeaVim Pull Requests"
    url = "git@github.com:JetBrains/ideavim.git"
    branchSpec = "+:refs/(pull/*)"
    authMethod = uploadedKey {
      uploadedKey = "Alex Plate TeamCity key"
    }
})

package _Self.vcsRoots

import jetbrains.buildServer.configs.kotlin.v2019_2.vcs.GitVcsRoot

object GitHubPullRequest : GitVcsRoot({
    name = "IdeaVim Pull Requests"
    url = "git@github.com:JetBrains/ideavim.git"
    branchSpec = "+:refs/(pull/*)/head"
    authMethod = uploadedKey {
      uploadedKey = "Alex Plate TeamCity key"
    }
})

Update branch specification for PRs
Update branch specification for PRs

JetBrains/ideavim,JetBrains/ideavim