(tests []*TestResultSummary, labels []string)
| 24 | ) |
| 25 | |
| 26 | func createIssues(tests []*TestResultSummary, labels []string) { |
| 27 | openIssues := getOpenIssues(labels) |
| 28 | for _, t := range tests { |
| 29 | createIssueIfNonExist(t, openIssues, append(labels, "help wanted")) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | func getOpenIssues(labels []string) []*github.Issue { |
| 34 | client := github.NewClient(nil).WithAuthToken(os.Getenv("GITHUB_TOKEN")) |
no test coverage detected
searching dependent graphs…