Sync labels across repositories
@octoherd helps to keep your GitHub repositories in line.
$ 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
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 '' ) |