Add dependabot to manage Github Actions update #1318
Merged
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.
Summary
Build have started emitting warnings:
I recently fixed these manually in qiskit algorithms but then saw qiskit experiments setup
dependabot
to check and update the actions. Upon finding actions needing update it will create a PR for this. So this is a first step to setting that up and commits a config file for dependabot to use, once that's in place there are other settings to enable it etc that I will do so once this merged. It seems better to have this automated.Details and comments
In doing this first on Qiskit Machine Learning it seems that dependabot will do a PR for each action it updates. This meant separate PRs for the change in version to the upload-artifact and download-artifact, This is seemed would cause a failure in each of the PRs that I surmise is due to the upload being done in one version and the download with another. The download would always fail saying file could not be found. In ML I fixed things by doing a manual PR that did both at the same time hence #1317.
I marked this OnHold since it would be better to merge this after #1317 is merged. And while I could have updated all the actions manually I figured not doing so would allow us to check dependabot is working ok for Nature here