{"id":21832667,"url":"https://github.com/tool3/bump","last_synced_at":"2025-04-14T07:37:26.759Z","repository":{"id":38678731,"uuid":"230937611","full_name":"tool3/bump","owner":"tool3","description":"⪮ github action for bumping npm package versions","archived":false,"fork":false,"pushed_at":"2025-03-12T05:54:40.000Z","size":16694,"stargazers_count":6,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T21:11:52.475Z","etag":null,"topics":["github-action","javascript-action","npm","release"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tool3.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":"2019-12-30T15:23:40.000Z","updated_at":"2025-03-12T05:54:37.000Z","dependencies_parsed_at":"2023-01-11T17:21:41.863Z","dependency_job_id":"2b7c9e26-cd46-46e6-8798-003b50967118","html_url":"https://github.com/tool3/bump","commit_stats":{"total_commits":158,"total_committers":8,"mean_commits":19.75,"dds":0.5189873417721519,"last_synced_commit":"31bf6d6aca05366272f10c5fda4c3f15b2f7450f"},"previous_names":[],"tags_count":48,"template":true,"template_full_name":"actions/javascript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fbump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fbump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fbump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tool3%2Fbump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tool3","download_url":"https://codeload.github.com/tool3/bump/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248840501,"owners_count":21169998,"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":["github-action","javascript-action","npm","release"],"created_at":"2024-11-27T19:24:47.390Z","updated_at":"2025-04-14T07:37:26.722Z","avatar_url":"https://github.com/tool3.png","language":"JavaScript","readme":"# Bump Action\n\nBump allows you to..well...bump an npm package version using a commit message, and push the package.json update back to the repository.  \n[![](https://github.com/tool3/bump/workflows/bump/badge.svg)](https://github.com/tool3/bump/actions)\n\n# Create an action from this template\n\nClick the `Use this Template` and provide the new repo details for your action\n\n# Options\n\n## inputs:\n\n### `github_token`\n\n**required**  \ngithub access token\n\n### `user`\n\nuser name  \ndefault: the user of the current push\n\n### `email`\n\nuser email  \ndefault: current user email\n\n### `branch`\n\nbranch to work against  \ndefault: `master`\n\n### `unrelated`\n\nuse `--allow-unrelated-histories`\ndeafult: `false`\n\n## outputs:\n\n### `version`\n\nthe version being tagged and pushed.\n\n# Bump strategy\n\nIf your head (latest) commit has the keywords `#patch`, `#minor` or `#major` - this action will use that to perform the bump.\nDefaults to `patch`.\n\n## Usage\n\nYou can use this action by referencing any branch or git tag:\n\n```yaml\nbump:\n  runs-on: ubuntu-latest\n  steps:\n    - uses: tool3/bump@master #latest\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        user: \"First Last\"\n        email: \"user.email@gmail.com\"\n```\n\n## :warning: Important usage notes\n\n- this action requires `@actions/checkout` to be defined in a previous step. e.g:\n\n```yaml\nbump:\n  runs-on: ubuntu-latest\n  steps:\n    - uses: actions/checkout@master\n    - uses: tool3/bump@master\n      with:\n        github_token: ${{ secrets.GITHUB_TOKEN }}\n        user: \"First Last\"\n        email: \"user.email@gmail.com\"\n```\n\n- this action pushes the package.json version update back to the repo (defaults to master).\n\nSee the [actions tab](https://github.com/tool3/bump/actions) for runs of this action! :rocket:\n\n# Example\n\n```yaml\nname: release\n\non:\n  push:\n    branches:\n      - release\n\njobs:\n  tag:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@master\n      - uses: tool3/bump@master\n        with:\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          unrelated: true\n\n  publisher:\n    needs: tag\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: tool3/publisher@master\n        with:\n          npm_token: ${{ secrets.NPM_TOKEN }}\n          github_token: ${{ secrets.GITHUB_TOKEN }}\n          scope: \"@tool3\"\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftool3%2Fbump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftool3%2Fbump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftool3%2Fbump/lists"}