diff --git a/lib/platform/bitbucket-server/index.js b/lib/platform/bitbucket-server/index.js index f8737c52cf988e72968624936606636b1cbaa74d..c2a716a558a32a3e81cd135f82dda3a9b598ccea 100644 --- a/lib/platform/bitbucket-server/index.js +++ b/lib/platform/bitbucket-server/index.js @@ -732,6 +732,10 @@ async function getPr(prNo, refreshCache) { pr.canRebase = true; } + if (await branchExists(pr.branchName)) { + res.isStale = await isBranchStale(pr.branchName); + } + return pr; }