{"id":12663268,"name":"joepitt91/action-version-from-github-tag","ecosystem":"actions","description":"Get the latest version from the tags in a GitHub repository.","homepage":"https://github.com/marketplace/actions/get-latest-version-from-github-tags","licenses":"gpl-3.0","normalized_licenses":["GPL-3.0"],"repository_url":"https://github.com/joepitt91/action-version-from-github-tag","keywords_array":["github-actions","github-tags"],"namespace":"joepitt91","versions_count":8,"first_release_published_at":"2025-05-23T20:09:22.000Z","latest_release_published_at":"2026-08-24T16:16:35.000Z","latest_release_number":"v2.0.3","last_synced_at":"2026-10-06T00:11:30.114Z","created_at":"2026-01-08T09:16:43.377Z","updated_at":"2026-10-06T00:11:30.114Z","registry_url":"https://github.com/joepitt91/action-version-from-github-tag","install_command":null,"documentation_url":null,"metadata":{"name":"Get Latest Version from GitHub Tags","author":"Joe Pitt","description":"Get the latest version from the tags in a GitHub repository.","inputs":{"token":{"description":"The token to authenticate to GitHub with.","required":true},"owner":{"description":"The owner of the source repository.","required":true},"repository":{"description":"The name of the source repository.","required":true},"greater_equal_version":{"description":"The minimum version to accept, e.g. 2.0.0. Defaults to None.","required":false},"less_than_version":{"description":"The version to accept versions less than, e.g. 3.0.0. Defaults to None.","required":false}},"outputs":{"tag":{"description":"The tag for the latest version.","value":"${{ steps.get_version.outputs.tag }}"},"version":{"description":"The latest version number.","value":"${{ steps.get_version.outputs.version }}"}},"runs":{"using":"composite","steps":[{"name":"Get Latest Version","id":"get_version","env":{"GITHUB_ACTION_PATH":"${{ github.action_path }}","INPUT_greater_equal_version":"${{ inputs.greater_equal_version }}","INPUT_less_than_version":"${{ inputs.less_than_version }}","INPUT_owner":"${{ inputs.owner }}","INPUT_repository":"${{ inputs.repository }}","INPUT_token":"${{ inputs.token }}"},"shell":"python","run":"from os import getenv\nfrom os.path import abspath, join\nimport sys\n\nsys.path.insert(1, abspath(join(getenv(\"GITHUB_ACTION_PATH\", \".\"), \"lib\")))\n\nfrom get_latest_version.github import get_latest_version_from_tags\nfrom get_latest_version.functions import clean_version\nfrom semver import Version\n\ngreater_equal_version = None\nif getenv(\"INPUT_greater_equal_version\") is not None and len(getenv(\"INPUT_greater_equal_version\")) \u003e= 5:\n    greater_equal_version = Version.parse(getenv(\"INPUT_greater_equal_version\"))\nless_than_version = None\nif getenv(\"INPUT_less_than_version\") is not None and len(getenv(\"INPUT_less_than_version\")) \u003e= 5:\n    less_than_version = Version.parse(getenv(\"INPUT_less_than_version\"))\n\ntag = get_latest_version_from_tags(\n    token=getenv(\"INPUT_token\"),\n    owner=getenv(\"INPUT_owner\"),\n    repository=getenv(\"INPUT_repository\"),\n    greater_equal_version=greater_equal_version,\n    less_than_version=less_than_version,\n)\n\nwith open(getenv(\"GITHUB_OUTPUT\"), \"a\", encoding=\"utf-8\") as f:\n    f.write(f\"tag={tag}\\n\")\n    f.write(f\"version={Version.parse(clean_version(tag))}\\n\")\n"},{"name":"Print Version","id":"print","run":"echo \"Latest version (${{ steps.get_version.outputs.version }}) of ${{ inputs.owner }}/${{ inputs.repository }} is in tag ${{ steps.get_version.outputs.tag }}\"\n","shell":"bash"}]},"branding":{"color":"blue","icon":"disc"},"default_branch":"main","path":null},"repo_metadata":{"id":295137870,"uuid":"989158342","full_name":"joepitt91/action-version-from-github-tag","owner":"joepitt91","description":"Get the latest version from the tags in a GitHub repository.","archived":false,"fork":false,"pushed_at":"2026-10-05T04:53:49.000Z","size":1392,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-10-05T13:40:00.400Z","etag":null,"topics":["github-actions","github-tags"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/get-latest-version-from-github-tags","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joepitt91.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null},"funding":{"github":"joepitt91"}},"created_at":"2025-05-23T16:43:27.000Z","updated_at":"2026-08-24T16:23:48.000Z","dependencies_parsed_at":"2026-10-05T06:42:23.511Z","dependency_job_id":null,"html_url":"https://github.com/joepitt91/action-version-from-github-tag","commit_stats":null,"previous_names":["joepitt91/action-version-from-github-tag"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joepitt91","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":343170754,"owners_count":38052579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-05T02:00:06.766Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"joepitt91","name":"Joe Pitt","uuid":"16159859","kind":"user","description":"","email":"","website":null,"location":"UK","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/16159859?u=96c900b0b9b92f6c86cbb84b0c4a79e8c4f35dbb\u0026v=4","repositories_count":1,"last_synced_at":"2024-02-26T22:43:43.943Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/joepitt91","funding_links":[],"total_stars":6,"followers":null,"following":null,"created_at":"2024-02-26T22:43:43.945Z","updated_at":"2024-02-26T22:43:43.945Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joepitt91","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joepitt91/repositories"},"tags":[{"name":"v2","sha":"9427741f5958f0b46240289a1cf331f580755c16","kind":"commit","published_at":"2026-08-24T16:16:35.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v2","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v2","dependencies_parsed_at":"2026-09-24T09:49:33.261Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2/manifests"},{"name":"v2.0.3","sha":"9427741f5958f0b46240289a1cf331f580755c16","kind":"commit","published_at":"2026-08-24T16:16:35.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v2.0.3","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v2.0.3","dependencies_parsed_at":"2026-09-24T09:49:33.223Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v2.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.3/manifests"},{"name":"v2.0.2","sha":"94d7a208358013e608468c1d052a58b412f0810e","kind":"commit","published_at":"2026-03-12T15:00:34.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v2.0.2","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v2.0.2","dependencies_parsed_at":"2026-08-08T09:56:05.087Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v2.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.2/manifests"},{"name":"v2.0.1","sha":"f244623a31df761abed7617855625dcf1710d6a1","kind":"commit","published_at":"2026-01-16T22:38:10.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v2.0.1","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v2.0.1","dependencies_parsed_at":"2026-08-08T09:56:05.134Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"b30a66851d3566573bb0d3efa984ef16ebf6e79f","kind":"commit","published_at":"2025-12-10T22:47:10.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v2.0.0","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v2.0.0","dependencies_parsed_at":"2026-08-08T09:56:05.108Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v2.0.0/manifests"},{"name":"v1.0.1","sha":"bb4c13fdcbcc22fadc0b440832960b29fed8ed20","kind":"commit","published_at":"2025-07-01T19:43:28.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v1.0.1","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v1.0.1","dependencies_parsed_at":"2026-08-08T09:56:05.091Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1.0.1/manifests"},{"name":"v1","sha":"bb4c13fdcbcc22fadc0b440832960b29fed8ed20","kind":"commit","published_at":"2025-07-01T19:43:28.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v1","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v1","dependencies_parsed_at":"2026-09-24T09:49:33.252Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1/manifests"},{"name":"v1.0.0","sha":"2442e04f824711d64a0e9e731a3ce5392902bc93","kind":"commit","published_at":"2025-05-23T20:09:22.000Z","download_url":"https://codeload.github.com/joepitt91/action-version-from-github-tag/tar.gz/v1.0.0","html_url":"https://github.com/joepitt91/action-version-from-github-tag/releases/tag/v1.0.0","dependencies_parsed_at":"2026-08-08T09:56:05.271Z","dependency_job_id":null,"purl":"pkg:github/joepitt91/action-version-from-github-tag@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-10-06T00:11:29.785Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":43.292193767355755,"dependent_packages_count":0.0,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":21.646096883677878},"purl":"pkg:githubactions/joepitt91/action-version-from-github-tag","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/joepitt91/action-version-from-github-tag","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/joepitt91/action-version-from-github-tag","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/joepitt91/action-version-from-github-tag/dependencies","status":null,"funding_links":["https://github.com/sponsors/joepitt91"],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-23T00:32:24.918Z","issues_count":0,"pull_requests_count":15,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":6264689.166666667,"issues_closed_count":0,"pull_requests_closed_count":12,"pull_request_authors_count":2,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.9333333333333333,"merged_pull_requests_count":6,"bot_issues_count":0,"bot_pull_requests_count":11,"past_year_issues_count":0,"past_year_pull_requests_count":10,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":9835189.42857143,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":7,"past_year_pull_request_authors_count":2,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.4,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":9,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/joepitt91%2Faction-version-from-github-tag/issues","maintainers":[{"login":"joepitt91","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/joepitt91"}],"active_maintainers":[{"login":"joepitt91","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/joepitt91"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/joepitt91%2Faction-version-from-github-tag/codemeta","maintainers":[]}