Skip to content

Prefer full semver for action pin comments - #26

Merged
jessegoodier merged 1 commit into
mainfrom
jesse/action-full-semver-comments
Oct 22, 2026
Merged

jessegoodier merged 1 commit into
mainfrom
jesse/action-full-semver-comments

Conversation

@jessegoodier

Copy link
Copy Markdown
Owner

Summary

  • When /releases/latest returns a floating major (v3), expand to a same-commit full tag (v3.0.0) for the SHA pin comment and update table.
  • Fixes cases like google-github-actions/auth where the major release is published after the full semver tag on the same commit.

Test plan

  • Run update_dependencies.py --only actions --dry-run against a repo that pins google-github-actions/auth and confirm the reported new version is v3.0.0 (not v3)
  • Confirm actions whose latest release is already full semver (e.g. actions/checkout) are unchanged

/releases/latest can return floating majors like v3 even when a same-commit
vX.Y.Z tag exists; expand those so pin comments stay concrete.
@jessegoodier
jessegoodier merged commit adf45cf into main Oct 22, 2026
6 checks passed
@jessegoodier
jessegoodier deleted the jesse/action-full-semver-comments branch October 22, 2026 12:40
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.

1 participant