Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stoe/octoherd-script-sync-labels
Sync labels across repositories
https://github.com/stoe/octoherd-script-sync-labels
octoherd-script
Last synced: 3 months ago
JSON representation
Sync labels across repositories
- Host: GitHub
- URL: https://github.com/stoe/octoherd-script-sync-labels
- Owner: stoe
- License: mit
- Archived: true
- Created: 2021-04-24T09:29:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-23T15:54:10.000Z (9 months ago)
- Last Synced: 2024-04-25T23:20:18.232Z (7 months ago)
- Topics: octoherd-script
- Language: JavaScript
- Homepage: https://npm.im/@stoe/octoherd-script-sync-labels
- Size: 160 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
- Codeowners: .github/codeowners
Awesome Lists containing this project
- awesome-octoherd-scripts - Sync labels - Sync labels accross repositories. (Scripts)
README
# octoherd-script-sync-labels
> Sync labels accross repositories
[![test](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/test.yml/badge.svg)](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/test.yml) [![codeql](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/codeql.yml/badge.svg)](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/codeql.yml) [![publish](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/publish.yml/badge.svg)](https://github.com/stoe/octoherd-script-sync-labels/actions/workflows/publish.yml) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
## Usage
```sh
npx @stoe/octoherd-script-sync-labels \
--template "stoe/octoherd-script-sync-labels"
```Pass all options as CLI flags to avoid user prompts
```sh
$ npx @stoe/octoherd-script-sync-labels \
--template "stoe/octoherd-script-sync-labels"
--octoherd-token ghp_0123456789abcdefghjklmnopqrstuvwxyzA \
--octoherd-repos "stoe/*"
```## Options
| option | type | description |
| ------------ | ------- | ------------------------------------------------- |
| `--defaults` | boolean | use [default labels](./labels.js) |
| `--path` | string | path to your labels.json ([example](labels.json)) |
| `--template` | string | repository to sync labels from |## Contributing
See [CONTRIBUTING.md](https://github.com/stoe/.github/blob/HEAD/.github/CONTRIBUTING.md)
## About Octoherd
[@octoherd](https://github.com/octoherd/) is project to help you keep your GitHub repositories in line.
## License
[MIT](license)