Skip to content

Latest commit

 

History

History

repository-labels

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

octoherd-script: repository-labels

repository-labels version

Sync labels across repositories

@octoherd helps to keep your GitHub repositories in line.

Usage

$ npx @stoe/octoherd-script-repository-labels \
  --template "stoe/octoherd-scripts" \
  --octoherd-token ghp_000000000000000000000000000000000000 \
  --octoherd-repos "stoe/*"
# to authenticate as GitHub App
$ npx @stoe/octoherd-script-repository-labels \
  --template "stoe/octoherd-scripts" \
  --octoherd-token ghp_000000000000000000000000000000000000 \
  --octoherd-repos "stoe/*"
  --app-id 12345 \
  --private-key ./private-key.pem

Options

option type description
--defaults boolean use default labels
--path string path to your labels.json (example)
--template string repository to sync labels from
--dry-run boolean show what would be done (default false)
--app-id integer GitHub App ID (default 0)
--private-key string path to GitHub App .pem file (default '')

License

MIT