Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure dependabot to check multiple files?

The official recommendation from pip-tools for cross-compilation is:

As the resulting requirements.txt can differ for each environment, users must execute pip-compile on each Python environment separately to generate a requirements.txt valid for each said environment.

I have multiple requirements files. One is called requirements.txt, another is requirements-silicon.txt

I have dependabot configured on github, but how do I get it to check multiple files?

like image 945
dfrankow Avatar asked Jan 18 '26 00:01

dfrankow


1 Answers

Based on the unit tests for dependabot with requirements.txt, naming for requirements.txt variants has to include requirements.txt at the end - otherwise it will not be detected as a requirements.txt. I'd assume that is because there could be other txt files with the word requirements in them.

So change your file from requirements-silicon.txt to silicon-requirements.txt. This makes the ordering weird, but it at least gets picked up by Dependabot.

like image 103
timmeinerzhagen Avatar answered Jan 20 '26 13:01

timmeinerzhagen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!