actions-marketplace-validations/gh-describe

Emulate `git describe --tags` for shallow clone repositories.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenPersonal Access Token (PAT)${{ github.token }}
repoTarget repository${{ github.repository }}
commit-ishCommit-ish object names to describe. The commit sha that triggered the workflow run. ${{ github.sha }}
matchOnly consider tags matching the given glob pattern.""
excludeDo not consider tags matching the given glob pattern.""
defaultIf the name is not found, use this value.""
namedescription
describe`git describe --tags`-like description. ex) v1.0.4-14-g2414721
tagThe most recent tag. ex) v1.0.4
distanceThe number of additional commits from the most recent tag. ex) 14
shaThe object name for the commit itself. ex) 2414721230345897234093645897124245324623
short-shaThe object name for the commit itself. ex) 2414721