Update error message link and wording.

This commit is contained in:
Kristján Oddsson 2021-07-21 12:46:44 +01:00 committed by GitHub
parent 8faee1e5a9
commit 7a3e47ff3e

View file

@ -24,7 +24,7 @@ var rootCmd = &cobra.Command{
func Execute() {
if os.Getenv("GITHUB_TOKEN") == "" {
fmt.Println("The GITHUB_TOKEN environment variable is required. Create a Personal Access Token with org SSO access at https://github.com/settings/tokens/new.")
fmt.Println("The GITHUB_TOKEN environment variable is required. Create a Personal Access Token at https://github.com/settings/tokens/new?scopes=repo and make sure to enable SSO for the GitHub organization after creating the token.")
os.Exit(1)
}