Skip to content

Commit fd46058

Browse files
mnkieferCopilot
andauthored
Update internal/tools/ghsecret/main.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 29e40a7 commit fd46058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tools/ghsecret/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func resolveToken() (string, error) {
8484
return v, nil
8585
}
8686
}
87-
return "", errors.New("no token found; set GITHUB_TOKEN or GH_TOKEN")
87+
return "", errors.New("no GitHub token found; set the GITHUB_TOKEN or GH_TOKEN environment variable with a personal access token (see https://github.com/settings/tokens)")
8888
}
8989

9090
func resolveSecretValue(fromEnv, fromFlag string) (string, error) {

0 commit comments

Comments
 (0)