mirror of
https://github.com/renovatebot/renovate.git
synced 2026-10-25 15:01:49 +00:00
219c8f718e
While looking at the fix for `actions/setup-java`, we noticed that `hashicorp/setup-terraform` and `opentofu/setup-opentofu` may also be affected, as both note: > Instead of a full version string, you can also specify a constraint > string (see Semver Ranges for available range specifications). As these fall back to `semver-coerced`, which coerces `~1.1.0` to `1.1.0`, Renovate then raises a PR rewriting the constraint into a full version, which isn't the intent. We can use `npm` versioning, which handles the constraint strings the Actions document, and leaves `latest` alone as a value we have no version to bump it to. Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>