postUpgradeTasks not running when multiple files matched #31876
Unanswered
cchristous
asked this question in
Request Help
Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What would you like help with?
I think I found a bug
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.
github.com, renovatebot 38.96.1, ghcr.io/mend/renovate-ce:8.3.1
Please tell us more about your question or problem
Hi,
I have a repo which contains a
requirements.in
(used for bazel builds) andrequirements.txt
(used for a 1 off script). I have renovatebot configured to run apostUpgradeTasks
to update the lock file associated withrequirements.in
, when the file changes.When there is a dependency change in both
requirements.in
andrequirements.txt
, the post upgrade task doesn't run. If there is a change in onlyrequirements.in
, the post upgrade task does run as expected.Relevant parts of the config:
Full config
Additionally, if I add
"ignorePaths": ["**/requirements.txt"]
topip_requirements
, the post upgrade task does run properly, e.g.:This seems like a bug to me. Any idea if there is a workaround that I could perform? If this is a bug, I am happy to contribute a fix, if you could point me in the right direction. No guarantees on timing.
Logs (if relevant)
Logs
Reproduction repo:
https://github.com/cchristous/renovate-31876
Beta Was this translation helpful? Give feedback.
All reactions