add thingy for debugging
All checks were successful
Gosec Check / Gosec Check (push) Successful in 55s

This commit is contained in:
Shane C 2024-09-08 20:36:16 -04:00
parent 9b666897c1
commit f05f53499c
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9

View file

@ -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 {