Add syncing of new docker image versions upon dependabot PR creation #785
+51
−0
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.
What does this PR do?
In this PR we introduce the fully automated updating of docker image versions upon dependabot updates. Previously, in the dependabot opened docker image version update PR's, the version was only updated in
/tests/tck-build-logic/src/main/resources/allowed-docker-images, while all other references to the docker image had to be manually replaced. With this PR, the newly-added GitHub actions workflow will automatically look through the repository for references to the old image version and replace them with the new version. The replacements it makes are then commited to the dependabot PR (in a separate commit), and the resulting PR should be merge-ready.These dependabot PR's will still be assigned to me. @jormundur00, so I will still look at their correctness, but this will save time on manual labor.
This workflow has been tested on a fork for the current outdated versions and it does everything that we previously did manually for them: https://github.com/jormundur00/graalvm-reachability-metadata/pulls.
Fixes: #784.