actions-cli icon indicating copy to clipboard operation
actions-cli copied to clipboard

Not working for organization repositories using built in login flow, HttpError: Not Found

Open northtree opened this issue 5 years ago • 3 comments

✗ actions-cli login login at http://localhost:61580 Token Saved Run actions-cli to see the actions status for the current commit

✗ actions-cli
ℹ getting last commit sha ⠼ fetching state for sha 'b91e1fd' HttpError: Not Found

northtree avatar Aug 05 '20 06:08 northtree

Do you have a repo to reproduce the error?

remorses avatar Aug 05 '20 09:08 remorses

It works on public repo, but returns HttpError for organization repos.

northtree avatar Aug 05 '20 10:08 northtree

You can try use your own token with actions-cli login --token and use a token with read:org permissions

The token you get on localhost only has repo permissions

remorses avatar Aug 06 '20 13:08 remorses