This commit is contained in:
parent
0c677cecbb
commit
0059e7de34
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ var rootCmd = &cobra.Command{
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for _, issue := range issues {
|
for _, issue := range issues {
|
||||||
fmt.Println(issue.OriginalAuthor)
|
pretty.Logln(issue)
|
||||||
if issue.Title == "GoSec Report" && strings.Contains(issue.Body, "GoSec Report:") {
|
if issue.Title == "GoSec Report" && strings.Contains(issue.Body, "GoSec Report:") {
|
||||||
if _, _, err := forgeClient.EditIssue(repoOwner, repoName, issue.ID, forgejo.EditIssueOption{
|
if _, _, err := forgeClient.EditIssue(repoOwner, repoName, issue.ID, forgejo.EditIssueOption{
|
||||||
Body: &markdownOutputStr,
|
Body: &markdownOutputStr,
|
||||||
|
|
Loading…
Reference in a new issue