{"id":17887130,"url":"https://github.com/radcortez/project-version-action","last_synced_at":"2026-01-29T18:45:59.678Z","repository":{"id":39949741,"uuid":"243869306","full_name":"radcortez/project-version-action","owner":"radcortez","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-01T21:45:59.000Z","size":929,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-14T02:47:33.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/radcortez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-28T22:59:31.000Z","updated_at":"2020-10-02T09:56:36.000Z","dependencies_parsed_at":"2024-10-28T13:39:59.785Z","dependency_job_id":"de74da89-ccda-4739-ab7a-295fa1ee944e","html_url":"https://github.com/radcortez/project-version-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radcortez%2Fproject-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radcortez%2Fproject-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radcortez%2Fproject-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radcortez%2Fproject-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radcortez","download_url":"https://codeload.github.com/radcortez/project-version-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773743,"owners_count":20993633,"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":[],"created_at":"2024-10-28T13:19:09.207Z","updated_at":"2026-01-29T18:45:54.652Z","avatar_url":"https://github.com/radcortez.png","language":"JavaScript","readme":"# Project Version action\n\nThis is an opinated way to retrieve the Project Version of a Repository. The purpose of this action is to expose the \nproject version as a context variable to be used across your Github Action Workflow.\n\nIt looks for a specific file in your Pull Request and retrieves the version from it. The file must only contain the \nversion and nothing more.\n\nThis action is only intended to run with Pull Request events.\n\n## Inputs\n\n### `github-token`\n\n**Required** The GitHub Token used to create an authenticated client. The Github Token is already set by the Github \nAction itself. Use this if you want to pass in your own Personal Access Token. \n\n**Default** `${{github.token}}`.\n\n### `version-file-path`\n\n**Required** The path to the file that contains the Project version.\n\n## Outputs\n\n### `project-version`\n\nThe Project Version. Read from the input file path.\n\n## Example usage\n\n```yaml\n- uses: radcortez/project-version-action@master\n  name: retrieve project version\n  id: version\n  with:\n    github-token: ${{secrets.GITHUB_TOKEN}}\n    version-file-path: '.github/release/version'\n```\n\nAfter this step, you can reference the Project Version with `${{steps.version.outputs.project-version}}`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradcortez%2Fproject-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradcortez%2Fproject-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradcortez%2Fproject-version-action/lists"}