Open rarkins opened 1 year ago
Reproduction: https://github.com/renovate-reproductions/24533
I would expect this can be easily reproduced in https://github.com/fgreinacher/renovate/blob/main/lib/modules/manager/dockerfile/extract.spec.ts ?
no?
looks like to me that there are two cases: somewhere in https://github.com/renovatebot/renovate/blob/c7ab3ca33711ab6783c7a5435230a8761b709a99/lib/workers/repository/update/branch/index.ts#L708 https://github.com/renovatebot/renovate/blob/c7ab3ca33711ab6783c7a5435230a8761b709a99/lib/workers/repository/update/branch/auto-replace.ts#L182
in some constellations I see updater ends up in things like Could not extract {{packageFile}} (manager=regex) after autoreplace. Did the autoreplace make the file unparseable?
This might be caused by https://github.com/renovatebot/renovate/pull/17883
Discussed in https://github.com/renovatebot/renovate/discussions/24533
Logs
``` DEBUG: depName mismatch (branch="renovate/jpredmond-type_1_image-2.x") { "manager": "regex" "packageFile": ".gitlab-ci.yml" "currentDepName": "jpredmond/type_1_image" "newDepName": "jpredmond/type_2_image" } WARN: Error updating branch: update failure (branch="renovate/jpredmond-type_1_image-2.x") ```