Renovate continuously opens and closes merge requests
Description
Renovate bot is currently flooding the merge request queue in many projects:
- It opens a merge request to update a Git submodule, even if the submodule is currently up-to-date.
- After a while, it closes the merge request.
It's like if Renovate first opens the merge request, and just in the next run checks whether if it should have to create the MR in the first place.
Examples
Merge requests:
- https://gitlab.torproject.org/rhatto/wikipelago/-/merge_requests?scope=all&state=closed&author_username=renovate-bot&search=autoclosed
- https://gitlab.torproject.org/tpo/operations/opsec-templates/-/merge_requests?scope=all&state=closed&author_username=renovate-bot&search=autoclosed
- https://gitlab.torproject.org/tpo/onion-services/onion-launchpad/-/merge_requests?scope=all&state=closed&author_username=renovate-bot&search=autoclosed
Queues:
- rhatto/wikipelago!14 (closed)
- https://gitlab.torproject.org/tpo/operations/opsec-templates/-/merge_requests/33
- tpo/onion-services/onion-launchpad!112 (closed)
Configuration
Renovate configuration common to all projects having this issue:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"git-submodules": {
"enabled": true
}
}
Additional information
- I don't know if this might influence this issue, but sometimes I manually update submodules in projects, without waiting for Renovate to do it's job. Don't know if that somehow conflicts with the bot mechanisms.