From 7bb06a4e5583b8447ebc274c1e89f38c8da5981f Mon Sep 17 00:00:00 2001 From: fullstackcreatives Date: Fri, 24 Nov 2023 11:59:12 +0100 Subject: [PATCH] fix: add memCache: false (#25949) --- lib/modules/platform/gitlab/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/modules/platform/gitlab/index.ts b/lib/modules/platform/gitlab/index.ts index d85b4026f6efae..79c6d63bbd9fec 100644 --- a/lib/modules/platform/gitlab/index.ts +++ b/lib/modules/platform/gitlab/index.ts @@ -651,7 +651,9 @@ async function tryPrAutomerge( const { body } = await gitlabApi.getJson<{ merge_status: string; pipeline: string; - }>(`projects/${config.repository}/merge_requests/${pr}`); + }>(`projects/${config.repository}/merge_requests/${pr}`, { + memCache: false, + }); // Only continue if the merge request can be merged and has a pipeline. if (body.merge_status === desiredStatus && body.pipeline !== null) { break;