You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 16, 2025. It is now read-only.
The dependency version validation logic incorrectly reports valid dependency versions as invalid when they exist as backport releases or earlier releases that are not the latest.
The validation logic uses gh api repos/owner/repo/releases/latest which only returns the most recent release, rather than checking for the specific version being used.
Expected Behavior
The validation should check for the specific version being used in the dependency, not just compare against the latest release.
Suggested Fix
Use gh api repos/owner/repo/releases/tags/{version} to check if the specific version exists, or list all releases and search for the target version.
Impact
This causes false positive errors in code reviews, leading to unnecessary confusion and incorrect suggestions to users.
Reporter
Reported by @seriousben in the context of reviewing go.mod dependency additions.