How can I update the lock file in the same PR as the dependency update? #31379
Replies: 2 comments 3 replies
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
That should be the default behavior. Please create a reproduction repo to demonstrate if you're seeing otherwise |
Beta Was this translation helpful? Give feedback.
-
What would you like help with?
I would like help with my configuration
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab - Renovate 38.77.3
Please tell us more about your question or problem
Is it possible to update the lock files (specifically NuGet lock files:
packages.lock.json
) in the same PR where the dependency is updated?We guarantee with our CI that the lock file is always up-to-date, else the PR cannot be merged.
I've tried the following configuration, advised in this comment, but the lock file isn't updated in the PR:
Logs (if relevant)
No log relevant to the lock file, except listing the lock files existing for each of our
csproj
.Beta Was this translation helpful? Give feedback.
All reactions