mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-02 18:43:40 +00:00
481f9b6d46
The `ratchet:` alternative in the pin-comment regex only allowed `owner/repo`, so a ratchet marker for an action in a subdirectory (`owner/repo/path@ref`) never matched. Such comments fell through to the bare-token branch, which made `currentValue` the entire marker string, e.g. `ratchet:actions/cache/restore@v4`. That is not version-like, so the dep was switched to the `github-digest` datasource, which cannot resolve the marker as a tag or branch and logs "Could not determine new digest for update". The dep then gets no updates at all. Allow further path segments after `owner/repo` so that nested actions are extracted the same way as their top-level counterparts, with `currentValue: v4` and the `github-tags` datasource. Assisted-by: Claude:claude-opus-5