Repository navigation
feat(automerge): allow merging digest-only Docker updates - #545
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
flaxel
approved these changes
Nov 2, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
fetch-metadata reports a change between non-numeric tags the same way as a digest-only update, so compare the changed lines with digests removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Type of Change
Description
Goal: auto-merge Dependabot updates that change only a Docker image digest, such as Chainguard rebuilds pinned as
tag@sha256:.... Dependabot gives them no semver update type, so the template skipped them.What changed: a new input,
allow-digest-updates, defaulttrue(opt out withfalse). For a Docker update without an update type, a new step removes every@sha256:digest from the PR diff. The PR merges only if the changed lines are then identical. A non-numeric tag change (bookworm-20250908tobookworm-20250929) has the same empty metadata, but fails this check.How to review: tested against custom-images #565 #567 #568 #590 #593 (detected), #582 #314 #594 (rejected), and a stubbed
bookwormtag change (rejected).Checklist
🤖 Generated with Claude Code