From f05f53499cd3f6787723a9fa978251aa39e5a125 Mon Sep 17 00:00:00 2001 From: Shane C Date: Sun, 8 Sep 2024 20:36:16 -0400 Subject: [PATCH] add thingy for debugging --- cmd/root.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 8e34eac..f25c83c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -9,6 +9,7 @@ import ( "fmt" "git.eggactyl.cloud/Eggactyl/shell/linux" "github.com/go-git/go-git/v5" + "github.com/kr/pretty" "github.com/nao1215/markdown" "github.com/owenrumney/go-sarif/sarif" "github.com/sethvargo/go-githubactions" @@ -195,13 +196,15 @@ var rootCmd = &cobra.Command{ ListOptions: forgejo.ListOptions{ Page: -1, }, - Type: forgejo.IssueTypeIssue, - CreatedBy: "forgejo-actions", + Type: forgejo.IssueTypeIssue, }) if err != nil { log.Fatalln(err) } + //god help me + pretty.Logln(issues) + isFound := false for _, issue := range issues { if issue.Title == "GoSec Report" && actionCtx.Repository == issue.Repository.FullName {