{"id":14969242,"url":"https://github.com/cucumber/action-get-versions","last_synced_at":"2025-10-24T08:31:31.145Z","repository":{"id":47709584,"uuid":"397019156","full_name":"cucumber/action-get-versions","owner":"cucumber","description":"Gets a version number from the latest git tag or CHANGELOG","archived":false,"fork":false,"pushed_at":"2023-09-07T14:01:30.000Z","size":53,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-05T13:36:47.515Z","etag":null,"topics":["polyglot-release"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cucumber.png","metadata":{"funding":{"open_collective":"cucumber"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-08-16T23:55:35.000Z","updated_at":"2022-10-12T09:05:33.000Z","dependencies_parsed_at":"2023-01-30T17:16:09.374Z","dependency_job_id":null,"html_url":"https://github.com/cucumber/action-get-versions","commit_stats":{"total_commits":29,"total_committers":4,"mean_commits":7.25,"dds":"0.31034482758620685","last_synced_commit":"225254786712a7fc77d6a7d7494f6641cd0ad5d3"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Faction-get-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Faction-get-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Faction-get-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cucumber%2Faction-get-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cucumber","download_url":"https://codeload.github.com/cucumber/action-get-versions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237938102,"owners_count":19390555,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"}},"keywords":["polyglot-release"],"created_at":"2024-09-24T13:41:25.371Z","updated_at":"2025-10-24T08:31:25.838Z","avatar_url":"https://github.com/cucumber.png","language":"Shell","funding_links":["https://opencollective.com/cucumber"],"categories":[],"sub_categories":[],"readme":"[![.github/workflows/test.yml](https://github.com/cucumber/action-get-versions/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/cucumber/action-get-versions/actions/workflows/test.yml)\n\n# get-versions\n\nThis action was developed by the Cucumber team to use as part of our automated release process.\n\nIt reads version numbers from two places:\n\n1) The latest git tag\n2) The first heading in the `CHANGELOG.md` file\n\nWe use these to infer:\n\n1) The currently released version\n2) The next version to be released\n\nIf there are changes about to be released, the changelog version will be newer than the git tag version, signalling that a release is required.\n\n## Outputs\n\n* `released-version` - the version parsed from the git latest git tag\n* `changelog-latest-version` - the version parsed from the top header in the `CHANGELOG.md`\n* `is-release-required` - a boolean flag set to `false` unless the two versions are different.\n\n## Inputs\n\nBy default, the action searches for git tags of the form `vX.Y.Z` and looks in the root directory for the `CHANGELOG.md` file. You can customize this (e.g. for a monorepo) by using these inputs:\n\n* `tag-prefix` - A prefix to use when searching for tags, e.g. `cucumber-expressions/`\n* `changelog-directory` - Path within the repo to look for the `CHANGELOG.md` file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Faction-get-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcucumber%2Faction-get-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcucumber%2Faction-get-versions/lists"}