actions-cli
actions-cli copied to clipboard
Request: low permission login option
Currently the login process grants permission to "read and write all public and private repository data" -- which is more than I'm willing to give, especially considering I only want to check on public projects.
Can we get a more limited option for permissions granting?
Last time I tried using only read permission I could not use the workflow api, can you check if only using read data works now? You can use your own token passing the —token flag to the login command
Thanks!
I tried with a token with only the three basic personal read privileges, and checking status hung at "waiting job handling last commit ..." -- actually I'm not sure if that's "hanging" or as intended, as no workflow ran against that commit. So then I specified a sha that actually triggered a past run, and the status printed beautifully.
EDIT:

This is solved for my case. Thanks for this!