From 9bd9f4bfb8f1ce851672de287f6dc689067cc535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Mon, 11 Mar 2024 11:51:54 +0100 Subject: [PATCH] Add debug behaviour --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 5452eaf..99e6559 100644 --- a/main.go +++ b/main.go @@ -71,7 +71,7 @@ func main() { token := os.Getenv("GITHUB_TOKEN") fmt.Printf("Api url is %v\n", ctx.ServerURL) - fmt.Printf("Debug: GITHUB_TOKEN begins with %v (4 first characters)\n", token[0:4]) + fmt.Printf("Debug: GITHUB_TOKEN begins with %v (4 first characters) and length is %d\n", token[0:4], len(token)) config, err := ParseActionConfig(*ctx) if err != nil {