mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
bbe08af60f
* test(manager/github-actions): cover digest pinned `renovate-image` As noted in #46969, if `renovatebot/github-action`'s `renovate-image` was tag+digest pinned, we would not correctly generate an update for it. We can add test coverage for this scenario first, documenting the current (incorrect) behaviour, so we have a clear regression test for the fix in the next commit. Co-Authored-By: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> * fix(manager/github-actions): handle digest pinned `renovate-image` Previously we split on `@` which would result in `packageName: ghcr.io/renovatebot/renovate:44.104.2`, which was incorrectly extracted, and so if no `renovate-version` was set, this would lead to `skipReason: 'unspecified-version'`. We can instead reuse `splitImageParts`, already used for Dockerfile-style `image:tag@digest` parsing, so a tag embedded in `renovate-image` is extracted correctly. Its own tag takes priority over the separate `renovate-version` input when both are set, matching how the action itself resolves the image to pull. Co-Authored-By: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io> --------- Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>