{"id":13698246,"url":"https://github.com/octoherd/script-setup-renovate","last_synced_at":"2025-05-04T03:31:07.463Z","repository":{"id":43332678,"uuid":"343952255","full_name":"octoherd/script-setup-renovate","owner":"octoherd","description":"An octoherd script to setup renovate","archived":false,"fork":false,"pushed_at":"2025-04-22T06:14:44.000Z","size":274,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-22T07:41:29.478Z","etag":null,"topics":["octoherd-script"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/octoherd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2021-03-03T00:28:29.000Z","updated_at":"2025-04-22T06:14:47.000Z","dependencies_parsed_at":"2023-02-16T12:45:59.034Z","dependency_job_id":"43f11630-1444-451d-9d3b-d18584ee0f99","html_url":"https://github.com/octoherd/script-setup-renovate","commit_stats":{"total_commits":64,"total_committers":4,"mean_commits":16.0,"dds":0.578125,"last_synced_commit":"02f5b5def079b79e537d59621b025828d8fd6041"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-setup-renovate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-setup-renovate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-setup-renovate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/octoherd%2Fscript-setup-renovate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/octoherd","download_url":"https://codeload.github.com/octoherd/script-setup-renovate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252283590,"owners_count":21723504,"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":["octoherd-script"],"created_at":"2024-08-02T19:00:42.292Z","updated_at":"2025-05-04T03:31:06.852Z","avatar_url":"https://github.com/octoherd.png","language":"JavaScript","funding_links":[],"categories":["Scripts"],"sub_categories":[],"readme":"# setup renovate\n\n\u003e An [octoherd](https://github.com/octoherd) script to setup renovate\n\nAt this point, this script adds / updates a repository's `package.json` file. Repositories without a `package.json` file in the root folder are ignored. Currently only the `extends` option is supported, but in theory all [Renovate Configuration Options](https://docs.renovatebot.com/configuration-options/) could be supported.\n\n## Usage\n\n```\nnpx @octoherd/script-setup-renovate \\\n  --extends \"github\u003eoctoherd/.github\"\n```\n\nPass all options as CLI flags to avoid user prompts\n\n```\nnpx @octoherd/script-setup-renovate \\\n  --extends \"github\u003eoctoherd/.github\"\\\n  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \\\n  -R \"octoherd/repository-with-script-folders\"\n```\n\n## Options\n\n| option                       | type             | description                                                                                                                                                                                                                                 |\n| ---------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--extends`                  | string           | **Required**. Location from where should inherit settings from, see the [`extends` documentation](https://docs.renovatebot.com/configuration-options/#extends). Example: `--extends \"github\u003eoctoherd/.github\"`                              |\n| `--path`                     | string           | File path of the configuration file for Renovate, see the [`Configuration options` documentation](https://docs.renovatebot.com/configuration-options/). Example: `--path \".github/renovate.json\"`                                           |\n| `--octoherd-token`, `-T`     | string           | A personal access token ([create](https://github.com/settings/tokens/new?scopes=repo)). Script will create one if option is not set                                                                                                         |\n| `--octoherd-repos`, `-R`     | array of strings | One or multiple space-separated repositories in the form of `repo-owner/repo-name`. `repo-owner/*` will find all repositories for one owner. `*` will find all repositories the user has access to. Will prompt for repositories if not set |\n| `--octoherd-bypass-confirms` | boolean          | Bypass prompts to confirm mutating requests                                                                                                                                                                                                 |\n\n## Licenses\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoherd%2Fscript-setup-renovate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foctoherd%2Fscript-setup-renovate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foctoherd%2Fscript-setup-renovate/lists"}