{"id":13698305,"url":"https://github.com/MadJlzz/octoherd-script-organization-setup","last_synced_at":"2025-05-04T03:31:13.263Z","repository":{"id":103366333,"uuid":"416095559","full_name":"MadJlzz/octoherd-script-organization-setup","owner":"MadJlzz","description":"Simple script to bootstrap a GitHub organization configuration.","archived":true,"fork":false,"pushed_at":"2021-10-19T00:02:08.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-13T03:34:39.763Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MadJlzz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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}},"created_at":"2021-10-11T21:42:21.000Z","updated_at":"2024-03-14T23:22:43.000Z","dependencies_parsed_at":"2023-07-08T19:45:22.215Z","dependency_job_id":null,"html_url":"https://github.com/MadJlzz/octoherd-script-organization-setup","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadJlzz%2Foctoherd-script-organization-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadJlzz%2Foctoherd-script-organization-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadJlzz%2Foctoherd-script-organization-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadJlzz%2Foctoherd-script-organization-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MadJlzz","download_url":"https://codeload.github.com/MadJlzz/octoherd-script-organization-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252283595,"owners_count":21723505,"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:43.531Z","updated_at":"2025-05-04T03:31:12.934Z","avatar_url":"https://github.com/MadJlzz.png","language":"JavaScript","funding_links":[],"categories":["Scripts"],"sub_categories":[],"readme":"# octoherd-script-organization-setup\n\n\u003e This script configure default settings for a repositories within an organization.\n\n## Usage\n\nMinimal usage\n\n```bash\nnpx octoherd-script-organization-setup \\\n  --template MadJlzz/octoherd-template\n```\n\nPass all options as CLI flags to avoid user prompts\n\n```bash\nnpx octoherd-script-organization-setup \\\n  --template MadJlzz/octoherd-template \\\n  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \\\n  -R \"MadJlzz/*\" \n```\n\n## Options\n\n| option                         | type             | description                                                                                                                                                                                                                                 |\n| ------------------------------ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `--template`                   | string           | **(required)** this is the repo you want the settings to be copied from                                                                                                                                                                     |\n| `--copy-labels`                | boolean          | **(optional)** a flag used to trigger label copying                                                                                                                                                                                         |\n| `--copy-merge-options`         | boolean          | **(optional)** a flag used to trigger merge options strategy copying                                                                                                                                                                        |\n| `--copy-default-branch-option` | boolean          | **(optional)** a flag used to trigger default branch option copying                                                                                                                                                                         |\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## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md)\n\n## About Octoherd\n\n[@octoherd](https://github.com/octoherd/) is project to help you keep your GitHub repositories in line.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMadJlzz%2Foctoherd-script-organization-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMadJlzz%2Foctoherd-script-organization-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMadJlzz%2Foctoherd-script-organization-setup/lists"}