{"id":23740427,"url":"https://github.com/ntsd/bump-node-package-multi-repo-action","last_synced_at":"2026-05-10T06:37:09.428Z","repository":{"id":268507254,"uuid":"902360536","full_name":"ntsd/bump-node-package-multi-repo-action","owner":"ntsd","description":"Create PRs to multiple repositories to bump the package version","archived":false,"fork":false,"pushed_at":"2024-12-18T18:10:16.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T21:16:46.772Z","etag":null,"topics":["github","github-actions","node","package-management","version-control"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/bump-node-package-multiple-repositories-action","language":null,"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/ntsd.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-12-12T12:17:51.000Z","updated_at":"2024-12-17T11:57:13.000Z","dependencies_parsed_at":"2024-12-17T07:46:02.403Z","dependency_job_id":"9b967a36-1f6a-4c97-8b77-7ccd53fe143f","html_url":"https://github.com/ntsd/bump-node-package-multi-repo-action","commit_stats":null,"previous_names":["ntsd/bump-node-package-multi-repo-action"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fbump-node-package-multi-repo-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fbump-node-package-multi-repo-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fbump-node-package-multi-repo-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntsd%2Fbump-node-package-multi-repo-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntsd","download_url":"https://codeload.github.com/ntsd/bump-node-package-multi-repo-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239886778,"owners_count":19713542,"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","github-actions","node","package-management","version-control"],"created_at":"2024-12-31T09:49:50.767Z","updated_at":"2026-03-04T00:30:19.090Z","avatar_url":"https://github.com/ntsd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bump Node Package Multiple Repository Action\n\nA GitHub Action to bump node package version to multiple giving repositories.\n\nOnly support node package manager `npm`, `yarn`, or `pnpm`. determine by lock file `package-lock.json`, `yarn.lock`, or `pnpm-lock.yaml`.\n\n## Inputs\n\n| field        | description                                                                                                                                                                                 | example                                                                                        |\n| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |\n| package      | `required` Package and version to bump                                                                                                                                                      | @zero-hub/client@1.0.0                                                                         |\n| repositories | `required` Repositories to bump, separate by comma. use postfix `@` to specify the branch to bump. use `:` to specify the path of the package. eg, `username/repo@branch:./path_to_package` | hotcode-dev/zerohub-share@develop,hotcode-dev/zerohub-share@develop,hotcode-dev/zerohub-meet:. |\n| gh_token     | GitHub token. Required when the destination repository is private.                                                                                                                          |                                                                                                |\n\n|\n\n## Examples Uses\n\n### Dispatch Event\n\n```yaml\nname: bump package version\non:\n  workflow_dispatch:\n    inputs:\n      package:\n        description: \"Package and version to bump. eg, `sdp-compact@0.0.6`\"\n        required: true\n      repositories:\n        description: \"Repositories to bump, separate by comma.\"\n        required: true\njobs:\n  bump-package-version:\n    runs-on: ubuntu-latest\n    # permission contents and pull-requests is required\n    permissions:\n      contents: write\n      pull-requests: write\n    steps:\n      - uses: ntsd/bump-node-package-multi-repo-action@v1\n        with:\n          package: ${{ github.event.inputs.package }}\n          repositories: ${{ github.event.inputs.repositories }}\n          gh_token: ${{ secrets.GITHUB_TOKEN }} # replace with your github token\n```\n\n\u003e Because secrets.GITHUB_TOKEN not allow us to use the token for the other private repo, this should be replace with personal or organization GitHub Token. [Ref](https://github.com/orgs/community/discussions/46566)\n\n### Use with Sematic Release\n\n```yaml\nsteps:\n  - name: Checkout\n    uses: actions/checkout@v3\n  - name: Semantic Release\n    uses: cycjimmy/semantic-release-action@v3\n    id: semantic # Need an `id` for output variables\n    env:\n      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}\n      NPM_TOKEN: ${{ secrets.NPM_TOKEN }}\n  - name: Bump multiple repositories\n    uses: ntsd/bump-node-package-multi-repo-action@v1\n    if: steps.semantic.outputs.new_release_published == 'true'\n    with:\n      package: your_package@${{ steps.semantic.outputs.new_release_version }}\n      repositories: \"user/repo,user/repo2\"\n      gh_token: ${{ secrets.GITHUB_TOKEN }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fbump-node-package-multi-repo-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntsd%2Fbump-node-package-multi-repo-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntsd%2Fbump-node-package-multi-repo-action/lists"}