npm install -g copy-github-labels-cli
- Create a token with no/empty access:
- https://github.com/settings/tokens
- But for private repositories, the token must have full access to the repository.
copy-github-labels -t <token> <source-repo> <destination-repo>
copy-github-labels -t 9u2039vf0s9df80... evandrocoan/ITE evandrocoan/Trabalho01CG
Check out the GitHub guide: Creating an access token for command-line use.
This happens when your token is not valid.
This happens when GitHub refuses to copy the label because it is already present in the destination repository.
This happens when the destination repository cannot be found.