actions-marketplace-validations/Latest Release Version
Get latest (pre-)release's version of a repository, customized property name such as 'created_at' supported.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 4, 2023
- License
- Apache 2.0
Pinned Snippet
uses: actions-marketplace-validations/fangqiuming_latest-release-version@3d28fe5af228277e88d7483ce635f819422c88b7 # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| repository | Repository name with owner. For example, actions/runner | no | ${{ github.repository }} |
| token | Personal access token (PAT) used to read the repository. We recommend using a service account with the least permissions necessary. Also when generating a new PAT, select the least scopes necessary. [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets) | no | ${{ github.token }} |
| property | Property name refers to version in [response object](https://docs.github.com/en/rest/reference/releases#get-the-latest-release) | no | tag_name |
| include_pre | Include pre-release or not | no | false |
Outputs
| name | description |
|---|---|
| tag_name | Tag name of the repository's latest release |
| version | Version value based on preferred property name |