Renovate merges MRs despite pipeline failures #36750
Replies: 2 comments
-
|
Hi there, This issue or discussion is missing some logs, making it difficult or impossible to help you. Depending on which situation applies follow one, some or all of these instructions. No logs at allIf you haven't posted any log yet, we need you to find and copy/paste the log into the issue template. Finding logs on hosted appSelect me to read instructionsIf you use the Mend Renovate app (GitHub):
Finding logs when self-hostingSelect me to read instructionsRead the Renovate docs, troubleshooting, self-hosted to learn how to find the logs. Formatting your logsSelect me to read instructionsPlease put your logs in a If you feel the logs are too large to paste here, please use a service like GitHub Gist and paste the link here. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
|
Looking at the changelog between those versions, I can't see anything obvious at the time Given the lack of logs and updates, it's likely that this has already been solved, so closing as "outdated" - please re-raise if you find this to be recurring! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
Gitlab
Please tell us more about your question or problem
Description:
Since an update between versions 40.53 and 40.62 of Renovate, we are experiencing an issue where Renovate merges MRs even when the MR pipeline fails. This happens despite the GitLab parameter "pipelines must succeed" being disabled and needing to stay that way.
Current Configuration:
Here is the Renovate configuration we are currently using:
{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "labels": ["dependencies"], "baseBranches": ["develop"], "timezone": "Europe/Paris", "dependencyDashboardLabels": ["dependencies"], "prConcurrentLimit": 3, "commitBody": "Changelog: other", "extends": [ ":dependencyDashboard", ":semanticPrefixFixDepsChoreOthers", "group:monorepos", "group:recommended", "replacements:all", ":maintainLockFilesWeekly", "workarounds:all", ":pinDevDependencies", "security:openssf-scorecard", "mergeConfidence:all-badges" ], "ignorePaths": [ "**/node_modules/**", "**/bower_components/**", "**/vendor/**", "**/examples/**", "**/__tests__/**", "**/test/**", "**/tests/**", "**/__fixtures__/**", "**/docs/**" ], "packageRules": [ { "major": { "dependencyDashboardApproval": true, "minimumReleaseAge": "14 days" } }, { "matchDepTypes": ["devDependencies"], "automerge": true }, { "matchPackagePrefixes": ["symfony/"], "matchUpdateTypes": ["major", "minor"], "dependencyDashboardApproval": true }, { "matchPackagePrefixes": ["php"], "matchUpdateTypes": ["major", "minor"], "dependencyDashboardApproval": true }, { "matchUpdateTypes": ["minor"], "matchCurrentVersion": "!/^0/", "minimumReleaseAge": "7 days", "automerge": true }, { "matchUpdateTypes": ["patch"], "matchCurrentVersion": "!/^0/", "minimumReleaseAge": "3 days", "automerge": true }, { "matchDatasources": ["npm"], "matchUpdateTypes": ["patch"], "matchCurrentVersion": "!/^0/", "minimumReleaseAge": "3 days" }, { "matchPackageNames": ["node"], "matchManagers": ["nvm", "nvmrc", "npm", "yarn"], "versioning": "node" }, { "matchPackagePatterns": ["amazon/aws-cli"], "schedule": ["every monday"] }, { "groupName": "Kubb", "matchPackageNames": [ "@kubb/cli", "@@kubb/core", "@kubb/plugin-client", "@kubb/plugin-oas", "@kubb/plugin-react-query", "@kubb/plugin-ts" ] } ] }Steps to Reproduce:
A MR is created by Renovate for a dependency update.
The MR pipeline fails for some reason (e.g., a test fails).
Despite the pipeline failure, Renovate merges the MR.
Environmental Information:
GitLab SaaS
Renovate version: 40.62
The issue happened when updating from 40.53 to 40.62
Screenshots:
Thank you for your help in resolving this issue.
Logs (if relevant)
No response
Beta Was this translation helpful? Give feedback.
All reactions