Add dependabot to monitor GitHub Actions and Python dependencies #713
+41
−16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, it's Pedro (see #683) and I'm back with another security suggestion.
This PR is very similar to the ones I sent to Keras and KerasCV. It configures Dependabot to monitor the GitHub Actions used in TF-Keras' workflows, as well as its Python dependencies.
I've configured Dependabot to send a single monthly PR (every 1st of the month) updating all dependencies in each ecosystem (see the PRs in my fork: pnacht#1 and pnacht#3).
I have taken the liberty of merging those dependabot PRs into this one so you don't receive such PRs right after merging this one.
Note that I've told Dependabot to ignore
protobuf
, due to the issue mentioned here:tf-keras/requirements.txt
Lines 6 to 11 in 6add81a
However, it will update numpy, despite the comment in the requirements file (shown below), since TF itself is already using a more recent version of numpy.
tf-keras/requirements.txt
Line 16 in 6add81a
TF's version is 2.26.1 (see its requirements file, last updated two months ago), while Dependabot is updating TF-Keras to 2.26.2 (released one month ago). This version is likely more similar to the version used by TF, but let me know if you'd rather Dependabot ignore this dependency as well, ensuring TF-Keras' version is always equal to or older than the one used by TF.
(Following keras-team/keras#18833 (comment), I haven't sent an issue for this. Let me know if TF-Keras prefers always having an accompanying issue to discuss my contributions).