{"id":17241970,"url":"https://github.com/mtkennerly/dunamai-action","last_synced_at":"2025-04-14T03:15:45.488Z","repository":{"id":44775505,"uuid":"278760349","full_name":"mtkennerly/dunamai-action","owner":"mtkennerly","description":"GitHub Action for Dunamai","archived":false,"fork":false,"pushed_at":"2023-03-28T15:39:45.000Z","size":64,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T00:20:10.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/mtkennerly.png","metadata":{"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}},"created_at":"2020-07-11T00:41:28.000Z","updated_at":"2023-11-14T12:59:49.000Z","dependencies_parsed_at":"2023-01-11T17:22:37.636Z","dependency_job_id":null,"html_url":"https://github.com/mtkennerly/dunamai-action","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"1a3a67c1e52375b69cf010dc264fcc18701f1d47"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkennerly%2Fdunamai-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkennerly%2Fdunamai-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkennerly%2Fdunamai-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtkennerly%2Fdunamai-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtkennerly","download_url":"https://codeload.github.com/mtkennerly/dunamai-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248631688,"owners_count":21136562,"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-15T06:11:55.037Z","updated_at":"2025-04-14T03:15:45.461Z","avatar_url":"https://github.com/mtkennerly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Action for Dunamai\nThis repository provides a GitHub Action that uses\n[Dunamai](https://github.com/mtkennerly/dunamai)\nto determine a dynamic version from your VCS tags.\n\nThis requires access to Python in the workflow.\n\n## Inputs\n* `install` (optional, default: `\"latest\"`):\n  Version of Dunamai to install (e.g., \"1.3.0\").\n  Use the default if you don't need a specific version,\n  or use \"none\" if your workflow installs Dunamai by other means.\n* `env-var` (optional, default: `\"\"`):\n  Name of environment variable in which to set the dynamic version.\n  If this is empty, no environment variable will be set.\n* `command` (optional, default: `\"dunamai from any\"`):\n  Command to run Dunamai.\n* `args` (optional, default: `\"\"`):\n  Additional arguments to pass to the command.\n\n## Outputs\n* `version`: The dynamic version.\n\n## Example\n```yaml\njobs:\n  example:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/setup-python@v4\n        with:\n          python-version: '3.7'\n      - uses: actions/checkout@v3\n        with:\n          # This is necessary so that we have the tags.\n          fetch-depth: 0\n      - uses: mtkennerly/dunamai-action@v1\n        with:\n          env-var: MY_VERSION\n          args: --style semver\n      - run: echo $MY_VERSION\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkennerly%2Fdunamai-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtkennerly%2Fdunamai-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtkennerly%2Fdunamai-action/lists"}