Repository navigation
CI: a digest-only refresh is one whose diff changes nothing but digests - #42
Merged
Merged
Conversation
…sha256 digests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The comparison can approve digest-pin removal and non-digest changes that cancel across files or positions.
2 open issues
What changed in this PR
This PR changes the CI auto-merge gate to identify Dependabot image digest refreshes from the PR diff rather than unreliable version metadata.
Changes:
- Removes the
previous-versioninput from the merge decision. - Compares digest-normalized changed lines, including grouped image updates.
- Updates the explanation for changes that require manual review.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Replaces metadata-based digest detection with a diff-based auto-merge check. |
Review effort: Balanced
…arker, so pins can't be dropped and nothing can move Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ges and trailing newlines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r 1 MB can't compare as empty 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 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.


A follow-up to the merge job's digest-refresh fix. Copilot showed
previous-versioncan't be trusted for this: it covers only the first image of a grouped update, a date tag like20261023looks like a digest, and a single-image refresh leaves it empty. The rule now reads the PR's diff and merges only when every changed line differs in nothing but its@sha256digest:Checked: a digest-only refresh merges; a tag change, a grouped update with a tag change, a date-tag change and an empty diff all wait. actionlint (shellcheck) passes.
🤖 Generated with Claude Code