{"repo":"proudust/gh-describe","free":true,"listed":false,"github":"https://github.com/proudust/gh-describe","clone":"git clone https://github.com/proudust/gh-describe.git","description":"Emulate `git describe --tags` for shallow clone repositories.","language":"TypeScript","stars":23,"topics":["gh-extension","deno","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"gh describe Emulate git describe --tags for shallow clone repositories. The git describe command is a useful tool for versioning a development build. However, it requires access to the full history of all tags and branches, which can be a problem in workflows where you often work with shallow clones of repositories. This tool, gh-describe , retrieves the necessary historical information from the GitHub API instead of locally, allowing you to use git describe as you normally would even in shallow clone repositories. Usage in GitHub Actions Action inputs All inputs are optional, and sensible defaults will be used if they are not set. Name Description Default ---------- ----------------------------------------------------- --------------------------------------------------------- token Personal Access Token (PAT) GITHUB TOKEN repo Target repository The owner and repository that triggered the workflow run. commit-ish Commit-ish object names to describe. The commit sha that triggered the workflow run. match Only consider tags matching the given glob pattern. exclude Do not consider tags matching the given glob pattern. default If the name is not found, use this value. If the name is not found, the action fails. [!NOTE] Multiple patterns can be specified for match and exclude using commas (e.g. \" -experimental- ,utility-plugin@ \" ). Action outputs The following outputs can be used by subsequent workflow steps. Name Description Example --------- -------------------------------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/proudust","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/proudust/gh-describe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}