{"id":41590288,"url":"https://github.com/fabien-marty/github-next-semantic-version-action","last_synced_at":"2026-01-24T09:13:13.877Z","repository":{"id":254540523,"uuid":"846616570","full_name":"fabien-marty/github-next-semantic-version-action","owner":"fabien-marty","description":"GitHub Action to provide github-next-semantic-version feature inside a GHA Workflow ","archived":false,"fork":false,"pushed_at":"2025-03-12T09:42:36.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T10:34:31.005Z","etag":null,"topics":["git","github","github-action","github-actions","semantic-version","semantic-versioning","semantic-versions"],"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/fabien-marty.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-23T15:29:31.000Z","updated_at":"2025-03-12T09:38:13.000Z","dependencies_parsed_at":"2025-03-12T10:27:18.352Z","dependency_job_id":"a7cc207c-494b-48d7-b367-f9a1d6543c54","html_url":"https://github.com/fabien-marty/github-next-semantic-version-action","commit_stats":null,"previous_names":["fabien-marty/github-next-semantic-version-action"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/fabien-marty/github-next-semantic-version-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabien-marty%2Fgithub-next-semantic-version-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabien-marty%2Fgithub-next-semantic-version-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabien-marty%2Fgithub-next-semantic-version-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabien-marty%2Fgithub-next-semantic-version-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabien-marty","download_url":"https://codeload.github.com/fabien-marty/github-next-semantic-version-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabien-marty%2Fgithub-next-semantic-version-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28722367,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T08:27:05.734Z","status":"ssl_error","status_checked_at":"2026-01-24T08:27:01.197Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"}},"keywords":["git","github","github-action","github-actions","semantic-version","semantic-versioning","semantic-versions"],"created_at":"2026-01-24T09:13:13.248Z","updated_at":"2026-01-24T09:13:13.872Z","avatar_url":"https://github.com/fabien-marty.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-next-semantic-version-action\n\n## What is it?\n\nThis is a GitHub Action that provides the [github-next-semantic-version](https://github.com/fabien-marty/github-next-semantic-version) tool/feature inside a GHA Workflow. This tool guesses **the next [semantic version](https://semver.org/)** from:\n\n- existing **git tags** *(read from a locally cloned git repository)*\n- and recently merged **pull-requests labels** *(read from the GitHub API)*\n\nUnlinke plenty of \"similar\" tools, we don't use any \"commit message parsing\" here but only \n**configurable PR labels**.\n\n## Usage\n\n```yaml\n- uses: actions/checkout@v4\n  with:\n    fetch-tags: true # we need to fetch tags to determine the latest version\n    fetch-depth: 0 # fetch-tags is not enough because of a GHA bug: https://github.com/actions/checkout/issues/1471\n\n- id: version\n  uses: fabien-marty/github-next-semantic-version-action@v1\n  with:\n    github-token: ${{ github.token }} # Let's use the default value of the current workflow\n    repository: ${{ github.repository }} # Let's use the default value of the current workflow\n    repository-owner: ${{ github.repository_owner }} # Let's use the default value of the current workflow\n\n- name: Use results\n  run: |\n    echo \"Latest version is ${{ steps.version.outputs.latest-version }}\"\n    echo \"Next version is ${{ steps.version.outputs.next-version }}\"\n```\n\n\u003e [!NOTE]\n\u003e In some configurations, you will also need to add this at the job level:\n\u003e \n\u003e ```yaml\n\u003e permissions:\n\u003e   pull-requests: read\n\u003e   contents: read\n\u003e ```\n\n### Outputs\n\n- `latest-version`: the latest version/tag\n- `next-version`: the (computed) next version (thanks to [github-next-semantic-version](https://github.com/fabien-marty/github-next-semantic-version) tool)\n\n### Inputs\n\n- `log-level`: Log Level (`DEBUG`, `INFO` or `WARNING`), default to `INFO`\n- `github-token`: GitHub Token (in most cases, you can use `${{ github.token }}` as value)\n- `repository`: Full repository name (example: `octocat/Hello-World`, in most cases, you want to use `${{ github.repository }}` as value)\n- `repository-owner`: repository owner (example: `octocat`), in most cases, you want to use `${{ github.repository-owner }}` as value)\n- `major-labels`: coma separated list of PR labels to search for determining a major release (default to: `major,breaking,Type: Major`)\n- `minor-labels`: coma separated list of PR labels to search for determining a minor release (default to: `minor,Type: Minor, Type: Feature`)\n- `ignore-labels`: coma separated list of PR labels to search for ignoring a PR (default to: `Type: Hidden`), can be useful with `dont-increment-if-no-pr` option\n- `dont-increment-if-no-pr`: Do not increment if no PR found (or only ignored PRs), default to `false`, can be useful to determine automatically if a release is needed\n- `consider-also-non-merged-prs`: If set to `true` (default to `false`), consider also \"non merged\" PRs to compute the next version\n- `tag-regex`: If set, filter tags with the given regex\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabien-marty%2Fgithub-next-semantic-version-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabien-marty%2Fgithub-next-semantic-version-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabien-marty%2Fgithub-next-semantic-version-action/lists"}