Skip to content

Commit

Permalink
fix: add memCache: false (#25949)
Browse files Browse the repository at this point in the history
  • Loading branch information
fullstackcreatives committed Nov 24, 2023
1 parent 4d92c17 commit 7bb06a4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/modules/platform/gitlab/index.ts
Expand Up @@ -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;
Expand Down

0 comments on commit 7bb06a4

Please sign in to comment.