actions-ecosystem/Actions Ecosystem Action Get Latest Tag

Get a latest Git tag.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 20, 2026
Maintenance Recency
Stalelast commit Apr 13, 2022
License
Apache 2.0

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-ecosystem/action-get-latest-tag@b7c32daec3395a9616f88548363a42652b22d435 # v1.6.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
semver_onlyWhether gets only a tag in the shape of semver. `v` prefix is accepted for tag names.nofalse
initial_versionThe initial version. Works only when `inputs.with_initial_version` == `true`.nov0.0.0
with_initial_versionWhether returns `inputs.initial_version` as `outputs.tag` if no tag exists. `true` and `false` are available.notrue
namedescription
tagThe latest tag. If no tag exists and `inputs.with_initial_version` == `false`, this value is `''`.