In a repository that only has a single Check configured (e.g. this repo), we would print "checks: 1" for PRs where the CI is passing. This looks akward when repeated for each PR and provides little useful information. This avoids ever printing "1" and instead prints "failing", "pending", or "success", respectively. We now only show numbers for repositories that have more than one Check runs. |
||
|---|---|---|
| .. | ||
| completion.go | ||
| completion_test.go | ||
| issue.go | ||
| issue_test.go | ||
| pr.go | ||
| pr_create.go | ||
| pr_create_test.go | ||
| pr_test.go | ||
| root.go | ||
| testing.go | ||