actions-marketplace-validations/Get Latest (Stable) Tag
Get the latest tag from git and outputs that for use in other actions
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Jan 24, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/debanjan97_github-action-get-previous-tag@e7bc0c9444417338112f6746bf27ddc48029534e # no releases — HEAD as of 2026-07-15tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| fallback | Fallback tag to use when no previous tag can be found | no | — |
| prefix | Prefix to query the tag by | no | — |
| stable | Flag to determine whether to return stable tag | no | — |
| sort | Get the latest tag by date or by lexicograhical order | no | — |
Outputs
| name | description |
|---|---|
| tag | Latest tag |
| timestamp | Latest tag timestamp |