{"repo":"oprypin/find-latest-tag","free":true,"listed":false,"github":"https://github.com/oprypin/find-latest-tag","clone":"git clone https://github.com/oprypin/find-latest-tag.git","description":"GitHub Action: Find the latest tag in a GitHub repository","language":"JavaScript","stars":36,"topics":["semver","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"find-latest-tag =============== [GitHub Action][] to find the latest tag in a GitHub repository Examples Find usages in the wild! Usage Inputs repository: username/reponame Required. Name of a repository on GitHub, with owner; this refers to https://github.com/username/reponame.git. releases-only: true Consider only tags that have an associated release. releases-only: false (default) Consider all tags. prefix: 'someprefix-' Consider only tags starting with this string prefix, like \"someprefix-1.2.3\". The prefix will not be excluded from the result. regex: 'regex pattern' Consider only tags that match the specified regular expression pattern (not anchored). For example, regex: '^\\d+\\.\\d+\\.\\d+$' matches tags such as 1.2.3 etc. sort-tags: true (default) Look through all tags to find the one with the greatest (semver-like) version. sort-tags: false (default for releases-only: true ) Return the first tag reported by GitHub. It's safe to rely on this being the most recently created release only for releases-only: false . When looking at tags, the behavior is undefined. token: ${{ secrets.PERSONAL TOKEN }} Required for scanning tags of other private repositories (referred to as destination repo), because the default GITHUB TOKEN only gives access to the repository that's running the action (and public ones). Then a user that has access to the destination repository needs to create a personal access token with repo access, and that token's value should be added as a repository secret","default_branch":null,"files":null,"tree":[],"storefront":"/r/oprypin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/oprypin/find-latest-tag/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."}