mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-14 16:46:25 +00:00
fix(github): don't block forkToken automerge (#9909)
This commit is contained in:
parent
825a946468
commit
8445c42590
1 changed files with 4 additions and 0 deletions
|
@ -634,6 +634,10 @@ async function getOpenPrs(): Promise<PrList> {
|
|||
pr.canMergeReason = `hasNegativeReview`;
|
||||
} else if (canMergeStates.includes(pr.mergeStateStatus)) {
|
||||
pr.canMerge = true;
|
||||
} else if (config.forkToken && pr.mergeStateStatus === 'BLOCKED') {
|
||||
// The main token can't merge but maybe the forking token can
|
||||
// istanbul ignore next
|
||||
pr.canMerge = true;
|
||||
} else {
|
||||
pr.canMerge = false;
|
||||
pr.canMergeReason = `mergeStateStatus = ${pr.mergeStateStatus}`;
|
||||
|
|
Loading…
Reference in a new issue