add thingy for debugging
All checks were successful
Gosec Check / Gosec Check (push) Successful in 55s
All checks were successful
Gosec Check / Gosec Check (push) Successful in 55s
This commit is contained in:
parent
9b666897c1
commit
f05f53499c
1 changed files with 5 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue