Description
In order to support automations, the CLI should accept a token via GITHUB_TOKEN env var.
Expected Behaviour
Given I set GITHUB_TOKEN to a token that is valid for making Copilot Requests
When I use Copilot CLI
Then it uses this token regardless of what is in the keyring
Notes
Right now the only valid token is an OAuth Token minted by our OAuth app.
Description
In order to support automations, the CLI should accept a token via
GITHUB_TOKENenv var.Expected Behaviour
Given I set
GITHUB_TOKENto a token that is valid for making Copilot RequestsWhen I use Copilot CLI
Then it uses this token regardless of what is in the keyring
Notes
Right now the only valid token is an OAuth Token minted by our OAuth app.