This updates the configure prompt to remove the *_SOURCE_GITHUB_(ACCESS_TOKEN|INSTANCE_URL) options as they are not needed for the vast majority of use cases. They can still be provided as environment variables or cli options, but we now default to reusing the values for GITHUB_ACCESS_TOKEN and GITHUB_INSTANCE_URL instead.
How's this tested?
$ dotnet run --project src/Valet/Valet.csproj -- configure
A new version of the Valet CLI is available. Run 'gh valet update' to update.
✔ Which CI providers are you configuring?: Jenkins
Enter the following values (leave empty to omit):
✔ GitHub handle used to authenticate with the GitHub Container Registry:
✔ Personal access token to authenticate with the GitHub Container Registry:
✔ Personal access token for GitHub:
✔ Base url of the GitHub instance: https://github.com
✔ Personal access token for Jenkins:
✔ Username of Jenkins user:
✔ Base url of the Jenkins instance:
Environment variables successfully updated.
What's changing?
This updates the
configure
prompt to remove the*_SOURCE_GITHUB_(ACCESS_TOKEN|INSTANCE_URL)
options as they are not needed for the vast majority of use cases. They can still be provided as environment variables or cli options, but we now default to reusing the values forGITHUB_ACCESS_TOKEN
andGITHUB_INSTANCE_URL
instead.How's this tested?