Skip to content

renovate: try to fix changelog link for digest-only updates - #633

Merged
wagnerd3 merged 1 commit into
mainfrom
try-to-fix-changelog
Sep 16, 2026
Merged

wagnerd3 merged 1 commit into
mainfrom
try-to-fix-changelog

Conversation

@SuperSandro2000

Copy link
Copy Markdown
Member

Digest-only updates (like pinned GitHub Actions bumps) don't come with a version change, so Renovate can't fetch release notes and the PR body falls back to a bare "/compare/.." link with no repo prefix — see #629 for an example.

Add a default packageRule that templates changelogUrl to "{{sourceUrl}}/compare/{{currentDigest}}..{{newDigest}}" for any GitHub-hosted dependency, so the link actually points somewhere useful.

Thanks to Jamie Tanna for writing this up:
https://www.jvt.me/posts/2025/05/08/renovate-digest-changelog/

Digest-only updates (like pinned GitHub Actions bumps) don't come with a
version change, so Renovate can't fetch release notes and the PR body
falls back to a bare "/compare/<old>..<new>" link with no repo prefix —
see #629 for an example.

Add a default packageRule that templates changelogUrl to
"{{sourceUrl}}/compare/{{currentDigest}}..{{newDigest}}" for any
GitHub-hosted dependency, so the link actually points somewhere useful.

Thanks to Jamie Tanna for writing this up:
https://www.jvt.me/posts/2025/05/08/renovate-digest-changelog/
@SuperSandro2000
SuperSandro2000 requested a review from a team as a code owner September 15, 2026 20:12
@github-actions

Copy link
Copy Markdown
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/sapcc/go-makefile-maker/internal/core 2.67% (ø)
github.com/sapcc/go-makefile-maker/internal/renovate 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/sapcc/go-makefile-maker/internal/core/config.go 3.17% (ø) 126 4 122
github.com/sapcc/go-makefile-maker/internal/renovate/renovate.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@wagnerd3 wagnerd3 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That looks reasonably simple to try it out :D

@wagnerd3
wagnerd3 merged commit 133f946 into main Sep 16, 2026
7 checks passed
@wagnerd3
wagnerd3 deleted the try-to-fix-changelog branch September 16, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants