Add syncing of new docker image versions upon dependabot PR creation#785
Merged
jormundur00 merged 4 commits intomasterfrom Nov 21, 2025
Merged
Conversation
3936b34 to
a1f913a
Compare
a1f913a to
be3dd8d
Compare
Member
vjovanov
reviewed
Nov 20, 2025
|
|
||
| - name: "📝 Sync docker image tags" | ||
| run: | | ||
| set -euo pipefail |
vjovanov
approved these changes
Nov 20, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.