some debugging
Some checks failed
Gosec Check / Gosec Check (push) Failing after 48s

This commit is contained in:
Shane C 2024-09-06 16:30:03 -04:00
parent 0c677cecbb
commit 0059e7de34
Signed by: shanec
GPG key ID: E46B5FEA35B22FF9

View file

@ -205,7 +205,7 @@ var rootCmd = &cobra.Command{
}
} else {
for _, issue := range issues {
fmt.Println(issue.OriginalAuthor)
pretty.Logln(issue)
if issue.Title == "GoSec Report" && strings.Contains(issue.Body, "GoSec Report:") {
if _, _, err := forgeClient.EditIssue(repoOwner, repoName, issue.ID, forgejo.EditIssueOption{
Body: &markdownOutputStr,