actions-ecosystem/Actions Ecosystem Action Get Latest Tag
Get a latest Git tag.
View on GitHubTrust Signals
- Scorecard Score
- Scorecard 2–4scored Jul 20, 2026
- Maintenance Recency
- Stalelast commit Apr 13, 2022
- License
- Apache 2.0
Pinned Snippet
uses: actions-ecosystem/action-get-latest-tag@b7c32daec3395a9616f88548363a42652b22d435 # v1.6.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| semver_only | Whether gets only a tag in the shape of semver. `v` prefix is accepted for tag names. | no | false |
| initial_version | The initial version. Works only when `inputs.with_initial_version` == `true`. | no | v0.0.0 |
| with_initial_version | Whether returns `inputs.initial_version` as `outputs.tag` if no tag exists. `true` and `false` are available. | no | true |
Outputs
| name | description |
|---|---|
| tag | The latest tag. If no tag exists and `inputs.with_initial_version` == `false`, this value is `''`. |