{"id":15590655,"url":"https://github.com/kfcampbell/octoherd-script-workflows","last_synced_at":"2025-04-07T20:24:49.066Z","repository":{"id":99809581,"uuid":"567026380","full_name":"kfcampbell/octoherd-script-workflows","owner":"kfcampbell","description":"Creates PRs to add CodeQL and Dependabot workflows across repositories","archived":false,"fork":false,"pushed_at":"2022-11-18T00:24:57.000Z","size":19,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T21:49:51.227Z","etag":null,"topics":["octoherd-script"],"latest_commit_sha":null,"homepage":null,"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/kfcampbell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2022-11-16T23:05:36.000Z","updated_at":"2022-11-17T22:21:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc9b2147-4145-46ab-837b-75f49e60ca25","html_url":"https://github.com/kfcampbell/octoherd-script-workflows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfcampbell%2Foctoherd-script-workflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfcampbell%2Foctoherd-script-workflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfcampbell%2Foctoherd-script-workflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfcampbell%2Foctoherd-script-workflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kfcampbell","download_url":"https://codeload.github.com/kfcampbell/octoherd-script-workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247723231,"owners_count":20985321,"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-10-02T23:24:10.163Z","updated_at":"2025-04-07T20:24:49.038Z","avatar_url":"https://github.com/kfcampbell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octoherd-script-workflows\n\n\u003e Creates PRs to add CodeQL and Dependabot workflows across repositories\n\n[![@latest](https://img.shields.io/npm/v/octoherd-script-workflows.svg)](https://www.npmjs.com/package/octoherd-script-workflows)\n[![Build Status](https://github.com/kfcampbell/octoherd-script-workflows/workflows/Test/badge.svg)](https://github.com/kfcampbell/octoherd-script-workflows/actions?query=workflow%3ATest+branch%3Amain)\n\n## Usage\n\nMinimal usage\n\n```js\nnpx octoherd-script-workflows\n```\n\nPass all options as CLI flags to avoid user prompts\n\n```\nnode cli.js -T $GITHUB_TOKEN -R owner/repo --template-directory $(pwd)/templates\n```\n\n```js\nnpx octoherd-script-workflows \\\n  -T ghp_0123456789abcdefghjklmnopqrstuvwxyzA \\\n  -R \"kfcampbell/*\"\n```\n\n## Options\n\n| option                       | type             | description                                                                                                                                                                                                                                 |\n| ---------------------------- | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\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\n## License\n\n[ISC](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfcampbell%2Foctoherd-script-workflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkfcampbell%2Foctoherd-script-workflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfcampbell%2Foctoherd-script-workflows/lists"}