From 802f86db199abd86b248d095b07f38114a6792de Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 28 Nov 2023 06:34:40 +0100 Subject: [PATCH] fix(gitlab): reduce attempts (#25994) --- lib/modules/platform/gitlab/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/platform/gitlab/index.ts b/lib/modules/platform/gitlab/index.ts index 6a7b67e4e166d3..b186d67f60c59f 100644 --- a/lib/modules/platform/gitlab/index.ts +++ b/lib/modules/platform/gitlab/index.ts @@ -644,7 +644,7 @@ async function tryPrAutomerge( } const desiredStatus = 'can_be_merged'; - const retryTimes = 35; // results in max. 5 min. timeout if no pipeline created + const retryTimes = 8; // results in max. 5 min. timeout if no pipeline created // Check for correct merge request status before setting `merge_when_pipeline_succeeds` to `true`. for (let attempt = 1; attempt <= retryTimes; attempt += 1) {