{"id":46743619,"url":"https://github.com/ouhammmourachid/bumpversion-action","last_synced_at":"2026-03-09T18:30:21.458Z","repository":{"id":204207441,"uuid":"711310007","full_name":"ouhammmourachid/bumpversion-action","owner":"ouhammmourachid","description":"a GitHub Actions that automates the process of bumping the version of a project.","archived":false,"fork":false,"pushed_at":"2024-08-23T23:01:07.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-24T20:57:03.668Z","etag":null,"topics":["actions","bumpver","bumpversion","pyproject-toml"],"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/ouhammmourachid.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":"2023-10-28T21:03:43.000Z","updated_at":"2024-08-24T14:43:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c5e9f90-ba9c-455e-a19c-9bb487c01299","html_url":"https://github.com/ouhammmourachid/bumpversion-action","commit_stats":null,"previous_names":["ouhammmourachid/bumpversion-action"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/ouhammmourachid/bumpversion-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouhammmourachid%2Fbumpversion-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouhammmourachid%2Fbumpversion-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouhammmourachid%2Fbumpversion-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouhammmourachid%2Fbumpversion-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ouhammmourachid","download_url":"https://codeload.github.com/ouhammmourachid/bumpversion-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ouhammmourachid%2Fbumpversion-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30307205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["actions","bumpver","bumpversion","pyproject-toml"],"created_at":"2026-03-09T18:30:20.568Z","updated_at":"2026-03-09T18:30:21.422Z","avatar_url":"https://github.com/ouhammmourachid.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bumpversion-action\n\n\u003e [!WARNING]\n\u003e This action is still semi-experimental.\n\u003e I’m happy to [hear feedback](https://github.com/ouhammmourachid/bumpversion-action/issues), though!\n\n## Description\n\nThe `bumpversion-action` is a GitHub Actions workflow that automates the process of bumping the version of a project. It allows you to easily increment the version number based on the specified bump type (major, minor, or patch) and push the changes to a specified branch.\n\n## Inputs\n\n- `bump-type` (required): The type of the bump version. Valid options are 'major', 'minor', or 'patch'.\n- `branch` (required): The branch to push the changes to. Default is 'main'.\n- `github-token` (required): The GitHub token used for authentication. This should be a secret. Default is `GITHUB_TOKEN`.\n- `release-title` (not required): A title to be the base for the realase like `Release v2.3` etc default value is `''`.\n- `generate-notes` (not required): true if you want to generate notes automatically , false other wise default value is `true`.\n\n\n## Outputs\n\n- `new_version`: The new version after the bump version.\n- `old_version`: The old version before the bump version.\n\n## Usage\ncreate a `bumpver.toml` or `.bumpver.toml` file in your project dir similar the one used in `bumpver` library like this one .\n\n```toml\n[bumpver]\ncurrent_version = \"0.1.0\"\nversion_pattern = \"MAJOR.MINOR.PATCH\"\n\n# pattern of files in which version is mentioned.\n[bumpver.file_patterns]\n\"pyproject.toml\" = [\n    'version = \"{version}\"$',\n]\n```\n\nthen create a workflow file in `.github/workflows` dir like this one\n\n```yml\nname: test bumpversion-action\n\non:\n  workflow_dispatch:\n    inputs:\n      bump-type:\n        description: 'Bump type'\n        required: true\n        options:\n          - major\n          - minor\n          - patch\n        default: 'patch'\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - name: Checkout\n      uses: actions/checkout@v4\n      with:\n        persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token\n        fetch-depth: 0             # otherwise, you will fail to push refs to dest repo\n    - name: bumpversion\n      uses: ouhammmourachid/bumpversion-action@v1.1.0\n      with:\n        github-token: ${{ secrets.TOKEN_PAT }}\n        bump-type: ${{ github.event.inputs.bump-type }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouhammmourachid%2Fbumpversion-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fouhammmourachid%2Fbumpversion-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fouhammmourachid%2Fbumpversion-action/lists"}