github-labels
github-labels copied to clipboard
Labels not created
I tried several options when trying to insert my custom labels to a repo and both failed with the same output (shown below):
>> No permission, enter your username and password:
[?] username: B...
[?] password: *...
Token created!
>> Authorize error
I tried following the example by running:
labels -c labels.json Berkmann18/MyPortfolio
And
labels -c labels.json MyPortfolio
But the message I get is confusing (even when I specify a token with -t [token]
) and nothing seems to change on the local copy of the repo or the remote one.
@popomore ?
This isn't documented here but it looks like you need to make a token with write access (https://github.com/settings/tokens) and specify it with the -t
flag
oh looks like this is a dup of https://github.com/popomore/github-labels/issues/25 which also suggests tokens as the answer
@Frijol I did use a token with write access tho.
oh I figured it out! I also had my token settings wrong. Now it's working when I give the token just public_repo access