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"
|
"fmt"
|
||||||
"git.eggactyl.cloud/Eggactyl/shell/linux"
|
"git.eggactyl.cloud/Eggactyl/shell/linux"
|
||||||
"github.com/go-git/go-git/v5"
|
"github.com/go-git/go-git/v5"
|
||||||
|
"github.com/kr/pretty"
|
||||||
"github.com/nao1215/markdown"
|
"github.com/nao1215/markdown"
|
||||||
"github.com/owenrumney/go-sarif/sarif"
|
"github.com/owenrumney/go-sarif/sarif"
|
||||||
"github.com/sethvargo/go-githubactions"
|
"github.com/sethvargo/go-githubactions"
|
||||||
|
@ -196,12 +197,14 @@ var rootCmd = &cobra.Command{
|
||||||
Page: -1,
|
Page: -1,
|
||||||
},
|
},
|
||||||
Type: forgejo.IssueTypeIssue,
|
Type: forgejo.IssueTypeIssue,
|
||||||
CreatedBy: "forgejo-actions",
|
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalln(err)
|
log.Fatalln(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//god help me
|
||||||
|
pretty.Logln(issues)
|
||||||
|
|
||||||
isFound := false
|
isFound := false
|
||||||
for _, issue := range issues {
|
for _, issue := range issues {
|
||||||
if issue.Title == "GoSec Report" && actionCtx.Repository == issue.Repository.FullName {
|
if issue.Title == "GoSec Report" && actionCtx.Repository == issue.Repository.FullName {
|
||||||
|
|
Loading…
Reference in a new issue